home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
You can browse this item here: apollo-authd-1.1.tar
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (V7), file authd/, mode 700 , uid 146 , gid 146 , size 0 , seconds 5226715153
| default
| |
98%
| file
| data
| default
| |
100%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 61 75 74 68 64 2f 00 00 | 00 00 00 00 00 00 00 00 |authd/..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 30 30 20 00 20 20 20 31 |.... 7|00 . 1|
|00000070| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 32 32 36 37 31 35 | 0 | 5226715|
|00000090| 31 35 33 20 20 20 35 31 | 34 37 00 20 00 00 00 00 |153 51|47. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 61 75 74 68 64 2f 42 4c | 55 52 42 00 00 00 00 00 |authd/BL|URB.....|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00000270| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00000280| 20 20 20 33 35 33 30 20 | 20 35 32 31 37 35 30 30 | 3530 | 5217500|
|00000290| 33 35 31 20 20 20 36 30 | 32 30 00 20 00 00 00 00 |351 60|20. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 49 66 20 68 6f 73 74 20 | 58 20 73 75 70 70 6f 72 |If host |X suppor|
|00000410| 74 73 20 52 46 43 20 39 | 33 31 2c 20 61 6e 64 20 |ts RFC 9|31, and |
|00000420| 69 66 20 6a 6f 65 40 58 | 20 61 6e 64 20 73 61 6c |if joe@X| and sal|
|00000430| 6c 79 40 59 20 61 72 65 | 20 63 6f 6e 6e 65 63 74 |ly@Y are| connect|
|00000440| 65 64 0a 74 68 72 6f 75 | 67 68 20 54 43 50 2c 20 |ed.throu|gh TCP, |
|00000450| 74 68 65 6e 20 73 61 6c | 6c 79 20 63 61 6e 20 66 |then sal|ly can f|
|00000460| 69 6e 64 20 6f 75 74 20 | 74 68 65 20 6e 61 6d 65 |ind out |the name|
|00000470| 20 6f 66 20 6a 6f 65 2e | 20 54 68 69 73 20 70 61 | of joe.| This pa|
|00000480| 63 6b 61 67 65 0a 69 6e | 63 6c 75 64 65 73 20 61 |ckage.in|cludes a|
|00000490| 75 74 68 64 2c 20 61 6e | 20 52 46 43 20 39 33 31 |uthd, an| RFC 931|
|000004a0| 20 73 65 72 76 65 72 2e | 20 4f 6e 63 65 20 79 6f | server.| Once yo|
|000004b0| 75 27 76 65 20 69 6e 73 | 74 61 6c 6c 65 64 20 69 |u've ins|talled i|
|000004c0| 74 2c 20 79 6f 75 72 20 | 75 73 65 72 73 0a 63 61 |t, your |users.ca|
|000004d0| 6e 27 74 20 65 73 63 61 | 70 65 20 74 68 65 20 61 |n't esca|pe the a|
|000004e0| 75 74 68 65 6e 74 69 63 | 61 74 69 6f 6e 3a 20 69 |uthentic|ation: i|
|000004f0| 66 20 74 68 65 79 20 74 | 65 6c 6e 65 74 20 6f 72 |f they t|elnet or|
|00000500| 20 72 6c 6f 67 69 6e 20 | 6f 72 20 73 65 6e 64 20 | rlogin |or send |
|00000510| 6d 61 69 6c 0a 6f 72 20 | 64 6f 20 77 68 61 74 65 |mail.or |do whate|
|00000520| 76 65 72 20 74 6f 20 61 | 6e 6f 74 68 65 72 20 68 |ver to a|nother h|
|00000530| 6f 73 74 2c 20 74 68 61 | 74 20 68 6f 73 74 20 63 |ost, tha|t host c|
|00000540| 61 6e 20 66 69 6e 64 20 | 6f 75 74 20 74 68 65 20 |an find |out the |
|00000550| 75 73 65 72 6e 61 6d 65 | 2e 0a 0a 54 68 69 73 20 |username|...This |
|00000560| 70 61 63 6b 61 67 65 20 | 61 6c 73 6f 20 69 6e 63 |package |also inc|
|00000570| 6c 75 64 65 73 20 61 20 | 6c 69 62 72 61 72 79 20 |ludes a |library |
|00000580| 74 68 61 74 20 61 63 74 | 73 20 61 73 20 61 6e 20 |that act|s as an |
|00000590| 52 46 43 20 39 33 31 20 | 63 6c 69 65 6e 74 2e 20 |RFC 931 |client. |
|000005a0| 59 6f 75 0a 64 6f 6e 27 | 74 20 6e 65 65 64 20 70 |You.don'|t need p|
|000005b0| 72 69 76 69 6c 65 67 65 | 73 20 74 6f 20 75 73 65 |rivilege|s to use|
|000005c0| 20 74 68 65 20 6c 69 62 | 72 61 72 79 2c 20 77 68 | the lib|rary, wh|
|000005d0| 69 63 68 20 73 68 6f 75 | 6c 64 20 63 6f 6d 70 69 |ich shou|ld compi|
|000005e0| 6c 65 20 61 6e 64 20 72 | 75 6e 0a 77 69 74 68 6f |le and r|un.witho|
|000005f0| 75 74 20 74 72 6f 75 62 | 6c 65 20 6f 6e 20 61 6e |ut troub|le on an|
|00000600| 79 20 42 53 44 2d 64 65 | 72 69 76 65 64 20 73 79 |y BSD-de|rived sy|
|00000610| 73 74 65 6d 2e 20 28 61 | 75 74 68 64 20 69 73 20 |stem. (a|uthd is |
|00000620| 6e 6f 74 20 73 6f 20 70 | 6f 72 74 61 62 6c 65 3b |not so p|ortable;|
|00000630| 0a 61 6c 74 68 6f 75 67 | 68 20 69 74 20 77 6f 72 |.althoug|h it wor|
|00000640| 6b 73 20 77 69 74 68 6f | 75 74 20 63 68 61 6e 67 |ks witho|ut chang|
|00000650| 65 73 20 75 6e 64 65 72 | 20 53 75 6e 4f 53 20 61 |es under| SunOS a|
|00000660| 6e 64 20 55 6c 74 72 69 | 78 2c 20 69 74 20 6d 69 |nd Ultri|x, it mi|
|00000670| 67 68 74 20 6e 6f 74 0a | 77 6f 72 6b 20 6f 6e 20 |ght not.|work on |
|00000680| 6f 74 68 65 72 20 73 79 | 73 74 65 6d 73 2e 20 54 |other sy|stems. T|
|00000690| 68 65 20 70 61 63 6b 61 | 67 65 20 69 6e 63 6c 75 |he packa|ge inclu|
|000006a0| 64 65 73 20 61 20 63 6f | 75 70 6c 65 20 6f 66 20 |des a co|uple of |
|000006b0| 74 65 73 74 20 70 72 6f | 67 72 61 6d 73 2e 29 0a |test pro|grams.).|
|000006c0| 0a 61 75 74 68 64 20 61 | 6e 64 20 61 75 74 68 75 |.authd a|nd authu|
|000006d0| 73 65 72 20 68 61 76 65 | 20 62 65 65 6e 20 72 65 |ser have| been re|
|000006e0| 70 6f 72 74 65 64 20 74 | 6f 20 77 6f 72 6b 20 6f |ported t|o work o|
|000006f0| 6e 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |n the fo|llowing |
|00000700| 73 79 73 74 65 6d 73 2e | 0a 0a 20 20 53 75 6e 20 |systems.|.. Sun |
|00000710| 32 2f 31 37 30 2c 20 53 | 75 6e 4f 53 20 34 2e 30 |2/170, S|unOS 4.0|
|00000720| 0a 20 20 53 75 6e 20 34 | 2f 32 38 30 2c 20 53 75 |. Sun 4|/280, Su|
|00000730| 6e 4f 53 20 34 2e 30 2e | 33 0a 20 20 53 75 6e 20 |nOS 4.0.|3. Sun |
|00000740| 33 2f 31 36 30 2c 20 53 | 75 6e 4f 53 20 34 2e 31 |3/160, S|unOS 4.1|
|00000750| 0a 20 20 53 75 6e 20 33 | 2f 31 38 30 2c 20 53 75 |. Sun 3|/180, Su|
|00000760| 6e 4f 53 20 34 2e 31 0a | 20 20 44 45 43 73 79 73 |nOS 4.1.| DECsys|
|00000770| 74 65 6d 2d 35 38 32 30 | 2c 20 55 6c 74 72 69 78 |tem-5820|, Ultrix|
|00000780| 20 34 2e 30 0a 20 20 44 | 45 43 53 74 61 74 69 6f | 4.0. D|ECStatio|
|00000790| 6e 2d 35 34 30 30 2c 20 | 55 6c 74 72 69 78 20 34 |n-5400, |Ultrix 4|
|000007a0| 2e 31 0a 20 20 56 41 58 | 20 38 36 35 30 2c 20 55 |.1. VAX| 8650, U|
|000007b0| 6c 74 72 69 78 20 34 2e | 31 0a 20 20 56 41 58 20 |ltrix 4.|1. VAX |
|000007c0| 28 3f 29 2c 20 42 53 44 | 20 34 2e 33 0a 20 20 43 |(?), BSD| 4.3. C|
|000007d0| 6f 6e 76 65 78 20 43 32 | 31 30 2c 20 43 6f 6e 76 |onvex C2|10, Conv|
|000007e0| 65 78 20 55 4e 49 58 20 | 38 2e 30 0a 0a 49 27 76 |ex UNIX |8.0..I'v|
|000007f0| 65 20 70 6c 61 63 65 64 | 20 74 68 69 73 20 63 6f |e placed| this co|
|00000800| 64 65 20 69 6e 74 6f 20 | 74 68 65 20 70 75 62 6c |de into |the publ|
|00000810| 69 63 20 64 6f 6d 61 69 | 6e 20 62 65 63 61 75 73 |ic domai|n becaus|
|00000820| 65 20 49 20 74 68 69 6e | 6b 20 74 68 61 74 0a 65 |e I thin|k that.e|
|00000830| 76 65 72 79 6f 6e 65 20 | 73 68 6f 75 6c 64 20 73 |veryone |should s|
|00000840| 75 70 70 6f 72 74 20 61 | 74 20 6c 65 61 73 74 20 |upport a|t least |
|00000850| 74 68 69 73 20 6c 65 76 | 65 6c 20 6f 66 20 73 65 |this lev|el of se|
|00000860| 63 75 72 69 74 79 2e 20 | 49 27 6d 20 73 69 63 6b |curity. |I'm sick|
|00000870| 20 6f 66 0a 73 65 65 69 | 6e 67 20 70 65 6f 70 6c | of.seei|ng peopl|
|00000880| 65 20 66 6f 72 67 65 20 | 6d 61 69 6c 20 61 6e 64 |e forge |mail and|
|00000890| 20 73 70 6f 6f 66 20 4e | 4e 54 50 20 61 6e 64 20 | spoof N|NTP and |
|000008a0| 61 74 74 61 63 6b 20 73 | 79 73 74 65 6d 73 20 61 |attack s|ystems a|
|000008b0| 6e 6f 6e 79 6d 6f 75 73 | 6c 79 0a 74 68 72 6f 75 |nonymous|ly.throu|
|000008c0| 67 68 20 74 68 65 20 6e | 65 74 77 6f 72 6b 2e 20 |gh the n|etwork. |
|000008d0| 4e 6f 77 20 74 68 65 79 | 20 77 6f 6e 27 74 20 62 |Now they| won't b|
|000008e0| 65 20 61 62 6c 65 20 74 | 6f 2c 20 62 65 63 61 75 |e able t|o, becau|
|000008f0| 73 65 20 65 76 65 72 79 | 20 63 6f 6e 6e 65 63 74 |se every| connect|
|00000900| 69 6f 6e 0a 77 69 6c 6c | 20 62 65 20 74 61 67 67 |ion.will| be tagg|
|00000910| 65 64 20 77 69 74 68 20 | 74 68 65 20 75 73 65 72 |ed with |the user|
|00000920| 6e 61 6d 65 20 77 69 74 | 68 20 61 74 20 6c 65 61 |name wit|h at lea|
|00000930| 73 74 20 61 73 20 6d 75 | 63 68 20 73 65 63 75 72 |st as mu|ch secur|
|00000940| 69 74 79 20 61 73 20 74 | 68 65 0a 54 43 50 20 68 |ity as t|he.TCP h|
|00000950| 6f 73 74 20 61 64 64 72 | 65 73 73 20 69 6e 20 65 |ost addr|ess in e|
|00000960| 61 63 68 20 70 61 63 6b | 65 74 2e 20 49 20 68 6f |ach pack|et. I ho|
|00000970| 70 65 20 74 68 61 74 20 | 65 76 65 72 79 20 73 69 |pe that |every si|
|00000980| 74 65 20 77 69 6c 6c 20 | 64 6f 20 69 74 73 20 70 |te will |do its p|
|00000990| 61 72 74 0a 74 6f 20 63 | 6f 6e 74 72 69 62 75 74 |art.to c|ontribut|
|000009a0| 65 20 74 6f 20 6e 65 74 | 77 6f 72 6b 20 73 65 63 |e to net|work sec|
|000009b0| 75 72 69 74 79 20 28 61 | 6e 64 20 74 6f 20 68 65 |urity (a|nd to he|
|000009c0| 6c 70 20 43 45 52 54 20 | 74 72 61 63 65 20 69 6e |lp CERT |trace in|
|000009d0| 74 72 75 64 65 72 73 29 | 2e 0a 0a 49 74 20 73 68 |truders)|...It sh|
|000009e0| 6f 75 6c 64 20 74 61 6b | 65 20 61 70 70 72 6f 78 |ould tak|e approx|
|000009f0| 69 6d 61 74 65 6c 79 20 | 31 30 20 6d 69 6e 75 74 |imately |10 minut|
|00000a00| 65 73 20 74 6f 20 72 65 | 61 64 20 74 68 65 20 69 |es to re|ad the i|
|00000a10| 6e 73 74 72 75 63 74 69 | 6f 6e 73 20 61 6e 64 0a |nstructi|ons and.|
|00000a20| 63 6f 6d 70 69 6c 65 2c | 20 69 6e 73 74 61 6c 6c |compile,| install|
|00000a30| 2c 20 61 6e 64 20 74 65 | 73 74 20 61 75 74 68 64 |, and te|st authd|
|00000a40| 20 6f 6e 20 61 20 6e 65 | 77 20 6d 61 63 68 69 6e | on a ne|w machin|
|00000a50| 65 2e 20 49 74 20 73 68 | 6f 75 6c 64 20 74 61 6b |e. It sh|ould tak|
|00000a60| 65 0a 61 70 70 72 6f 78 | 69 6d 61 74 65 6c 79 20 |e.approx|imately |
|00000a70| 32 20 6d 69 6e 75 74 65 | 73 20 6f 6e 20 65 61 63 |2 minute|s on eac|
|00000a80| 68 20 6e 65 77 20 6d 61 | 63 68 69 6e 65 20 6f 6e |h new ma|chine on|
|00000a90| 63 65 20 79 6f 75 27 72 | 65 20 66 61 6d 69 6c 69 |ce you'r|e famili|
|00000aa0| 61 72 20 77 69 74 68 0a | 74 68 65 20 69 6e 73 74 |ar with.|the inst|
|00000ab0| 72 75 63 74 69 6f 6e 73 | 2e 20 53 65 6e 64 20 63 |ructions|. Send c|
|00000ac0| 6f 6d 6d 65 6e 74 73 20 | 6f 6e 20 74 68 65 73 65 |omments |on these|
|00000ad0| 20 65 73 74 69 6d 61 74 | 65 73 20 74 6f 20 62 72 | estimat|es to br|
|00000ae0| 6e 73 74 6e 64 40 6e 79 | 75 2e 65 64 75 2c 0a 63 |nstnd@ny|u.edu,.c|
|00000af0| 63 20 74 68 65 20 4f 66 | 66 69 63 65 20 6f 66 20 |c the Of|fice of |
|00000b00| 4d 61 6e 61 67 65 6d 65 | 6e 74 20 61 6e 64 20 42 |Manageme|nt and B|
|00000b10| 75 64 67 65 74 2c 20 50 | 61 70 65 72 77 6f 72 6b |udget, P|aperwork|
|00000b20| 20 52 65 64 75 63 74 69 | 6f 6e 20 44 69 76 69 73 | Reducti|on Divis|
|00000b30| 69 6f 6e 2e 0a 0a 2d 2d | 2d 44 61 6e 20 42 65 72 |ion...--|-Dan Ber|
|00000b40| 6e 73 74 65 69 6e 2c 20 | 62 72 6e 73 74 6e 64 40 |nstein, |brnstnd@|
|00000b50| 6e 79 75 2e 65 64 75 0a | 2f 31 38 30 2c 20 53 75 |nyu.edu.|/180, Su|
|00000b60| 6e 4f 53 20 34 2e 31 0a | 20 20 44 45 43 73 79 73 |nOS 4.1.| DECsys|
|00000b70| 74 65 6d 2d 35 38 32 30 | 2c 20 55 6c 74 72 69 78 |tem-5820|, Ultrix|
|00000b80| 20 34 2e 30 0a 20 20 44 | 45 43 53 74 61 74 69 6f | 4.0. D|ECStatio|
|00000b90| 6e 2d 35 34 30 30 2c 20 | 55 6c 74 72 69 78 20 34 |n-5400, |Ultrix 4|
|00000ba0| 2e 31 0a 20 20 56 41 58 | 20 38 36 35 30 2c 20 55 |.1. VAX| 8650, U|
|00000bb0| 6c 74 72 69 78 20 34 2e | 31 0a 20 20 56 41 58 20 |ltrix 4.|1. VAX |
|00000bc0| 28 3f 29 2c 20 42 53 44 | 20 34 2e 33 0a 20 20 43 |(?), BSD| 4.3. C|
|00000bd0| 6f 6e 76 65 78 20 43 32 | 31 30 2c 20 43 6f 6e 76 |onvex C2|10, Conv|
|00000be0| 65 78 20 55 4e 49 58 20 | 38 2e 30 0a 0a 49 27 76 |ex UNIX |8.0..I'v|
|00000bf0| 65 20 70 6c 61 63 65 64 | 20 74 68 69 73 20 63 6f |e placed| this co|
|00000c00| 61 75 74 68 64 2f 43 48 | 41 4e 47 45 53 00 00 00 |authd/CH|ANGES...|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00000c70| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00000c80| 20 20 20 31 34 31 37 20 | 20 35 32 31 37 35 30 30 | 1417 | 5217500|
|00000c90| 33 35 37 20 20 20 36 32 | 33 32 00 20 00 00 00 00 |357 62|32. ....|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 43 68 61 6e 67 65 20 66 | 69 6c 65 20 66 6f 72 20 |Change f|ile for |
|00000e10| 61 75 74 68 64 0a 0a 53 | 52 20 69 73 20 53 65 74 |authd..S|R is Set|
|00000e20| 68 20 52 6f 62 65 72 74 | 73 6f 6e 20 28 73 65 74 |h Robert|son (set|
|00000e30| 68 40 73 69 72 69 75 73 | 2e 63 74 72 2e 63 6f 6c |h@sirius|.ctr.col|
|00000e40| 75 6d 62 69 61 2e 65 64 | 75 29 2e 0a 4e 53 20 69 |umbia.ed|u)..NS i|
|00000e50| 73 20 4e 69 63 6b 20 53 | 61 79 65 72 20 28 6d 72 |s Nick S|ayer (mr|
|00000e60| 61 70 70 6c 65 40 71 75 | 61 63 6b 2e 73 61 63 2e |apple@qu|ack.sac.|
|00000e70| 63 61 2e 75 73 29 2e 0a | 43 4d 20 69 73 20 43 68 |ca.us)..|CM is Ch|
|00000e80| 72 69 73 20 4d 65 74 63 | 61 6c 66 20 28 6d 65 74 |ris Metc|alf (met|
|00000e90| 63 61 6c 66 40 6d 61 73 | 61 6c 61 2e 6c 63 73 2e |calf@mas|ala.lcs.|
|00000ea0| 6d 69 74 2e 65 64 75 29 | 2e 0a 0a 32 2f 37 2f 39 |mit.edu)|...2/7/9|
|00000eb0| 31 3a 20 61 75 74 68 64 | 20 33 2e 30 31 2e 0a 32 |1: authd| 3.01..2|
|00000ec0| 2f 37 2f 39 31 3a 20 41 | 64 64 65 64 20 74 65 6e |/7/91: A|dded ten|
|00000ed0| 74 61 74 69 76 65 20 6e | 6f 74 65 20 61 62 6f 75 |tative n|ote abou|
|00000ee0| 74 20 56 41 58 20 28 77 | 68 69 63 68 3f 29 20 75 |t VAX (w|hich?) u|
|00000ef0| 6e 64 65 72 20 42 53 44 | 20 34 2e 33 2e 20 54 6e |nder BSD| 4.3. Tn|
|00000f00| 78 20 43 4d 2e 0a 32 2f | 37 2f 39 31 3a 20 46 69 |x CM..2/|7/91: Fi|
|00000f10| 78 65 64 20 75 70 20 6c | 73 65 65 6b 28 29 20 62 |xed up l|seek() b|
|00000f20| 72 61 69 6e 64 61 6d 61 | 67 65 2e 20 54 6e 78 20 |raindama|ge. Tnx |
|00000f30| 4e 53 2c 20 43 4d 2e 0a | 20 20 20 20 20 20 20 20 |NS, CM..| |
|00000f40| 60 60 44 69 64 20 79 6f | 75 20 77 72 69 74 65 20 |``Did yo|u write |
|00000f50| 74 68 69 73 20 69 6e 20 | 79 6f 75 72 20 73 6c 65 |this in |your sle|
|00000f60| 65 70 3f 27 27 20 4e 6f | 20 63 6f 6d 6d 65 6e 74 |ep?'' No| comment|
|00000f70| 2e 0a 32 2f 37 2f 39 31 | 3a 20 46 69 78 65 64 20 |..2/7/91|: Fixed |
|00000f80| 75 70 20 6c 73 65 65 6b | 28 29 20 74 79 70 6f 20 |up lseek|() typo |
|00000f90| 28 74 65 73 74 20 76 65 | 72 73 75 73 20 31 3f 20 |(test ve|rsus 1? |
|00000fa0| 6f 68 20 62 6f 79 29 2e | 20 54 6e 78 20 4e 53 2c |oh boy).| Tnx NS,|
|00000fb0| 20 43 4d 2e 0a 32 2f 37 | 2f 39 31 3a 20 41 64 64 | CM..2/7|/91: Add|
|00000fc0| 65 64 20 53 75 6e 20 32 | 2f 31 37 30 20 75 6e 64 |ed Sun 2|/170 und|
|00000fd0| 65 72 20 53 75 6e 4f 53 | 20 34 2e 30 2e 20 54 6e |er SunOS| 4.0. Tn|
|00000fe0| 78 20 4e 53 2e 0a 0a 32 | 2f 36 2f 39 31 3a 20 46 |x NS...2|/6/91: F|
|00000ff0| 69 78 65 64 20 6e 6f 6e | 2d 69 6e 73 74 61 6c 6c |ixed non|-install|
|00001000| 61 74 69 6f 6e 20 6f 66 | 20 61 75 74 68 75 73 65 |ation of| authuse|
|00001010| 72 2e 68 2e 20 4f 6f 70 | 73 2e 0a 32 2f 36 2f 39 |r.h. Oop|s..2/6/9|
|00001020| 31 3a 20 41 64 64 65 64 | 20 53 75 6e 20 33 20 75 |1: Added| Sun 3 u|
|00001030| 6e 64 65 72 20 53 75 6e | 4f 53 20 34 2e 31 20 74 |nder Sun|OS 4.1 t|
|00001040| 6f 20 73 75 63 63 65 73 | 73 20 6c 69 73 74 2e 20 |o succes|s list. |
|00001050| 54 6e 78 20 53 52 2e 0a | 32 2f 36 2f 39 31 3a 20 |Tnx SR..|2/6/91: |
|00001060| 43 68 61 6e 67 65 64 20 | 70 73 20 61 75 67 78 20 |Changed |ps augx |
|00001070| 69 6e 20 49 4e 53 54 41 | 4c 4c 20 74 6f 20 70 73 |in INSTA|LL to ps|
|00001080| 20 61 63 75 67 78 2e 20 | 54 6e 78 20 53 52 2e 0a | acugx. |Tnx SR..|
|00001090| 32 2f 36 2f 39 31 3a 20 | 54 6f 6f 6b 20 60 60 6b |2/6/91: |Took ``k|
|000010a0| 65 72 6e 65 6c 2d 6c 65 | 76 65 6c 27 27 20 6f 75 |ernel-le|vel'' ou|
|000010b0| 74 20 6f 66 20 52 45 41 | 44 4d 45 2e 20 54 6e 78 |t of REA|DME. Tnx|
|000010c0| 20 53 52 2e 0a 32 2f 36 | 2f 39 31 3a 20 41 64 64 | SR..2/6|/91: Add|
|000010d0| 65 64 20 43 6f 6e 76 65 | 78 20 74 6f 20 74 68 65 |ed Conve|x to the|
|000010e0| 20 73 75 63 63 65 73 73 | 20 6c 69 73 74 2c 20 66 | success| list, f|
|000010f0| 69 78 65 64 20 74 79 70 | 6f 2e 0a 0a 32 2f 35 2f |ixed typ|o...2/5/|
|00001100| 39 31 3a 20 61 75 74 68 | 64 20 33 2e 30 2e 0a 69 |91: auth|d 3.0..i|
|00001110| 78 65 64 20 75 70 20 6c | 73 65 65 6b 28 29 20 62 |xed up l|seek() b|
|00001120| 72 61 69 6e 64 61 6d 61 | 67 65 2e 20 54 6e 78 20 |raindama|ge. Tnx |
|00001130| 4e 53 2c 20 43 4d 2e 0a | 20 20 20 20 20 20 20 20 |NS, CM..| |
|00001140| 60 60 44 69 64 20 79 6f | 75 20 77 72 69 74 65 20 |``Did yo|u write |
|00001150| 74 68 69 73 20 69 6e 20 | 79 6f 75 72 20 73 6c 65 |this in |your sle|
|00001160| 65 70 3f 27 27 20 4e 6f | 20 63 6f 6d 6d 65 6e 74 |ep?'' No| comment|
|00001170| 2e 0a 32 2f 37 2f 39 31 | 3a 20 46 69 78 65 64 20 |..2/7/91|: Fixed |
|00001180| 75 70 20 6c 73 65 65 6b | 28 29 20 74 79 70 6f 20 |up lseek|() typo |
|00001190| 28 74 65 73 74 20 76 65 | 72 73 75 73 20 31 3f 20 |(test ve|rsus 1? |
|000011a0| 6f 68 20 62 6f 79 29 2e | 20 54 6e 78 20 4e 53 2c |oh boy).| Tnx NS,|
|000011b0| 20 43 4d 2e 0a 32 2f 37 | 2f 39 31 3a 20 41 64 64 | CM..2/7|/91: Add|
|000011c0| 65 64 20 53 75 6e 20 32 | 2f 31 37 30 20 75 6e 64 |ed Sun 2|/170 und|
|000011d0| 65 72 20 53 75 6e 4f 53 | 20 34 2e 30 2e 20 54 6e |er SunOS| 4.0. Tn|
|000011e0| 78 20 4e 53 2e 0a 0a 32 | 2f 36 2f 39 31 3a 20 46 |x NS...2|/6/91: F|
|000011f0| 69 78 65 64 20 6e 6f 6e | 2d 69 6e 73 74 61 6c 6c |ixed non|-install|
|00001200| 61 75 74 68 64 2f 46 49 | 4c 45 53 00 00 00 00 00 |authd/FI|LES.....|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00001270| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00001280| 20 20 20 20 32 32 35 20 | 20 35 32 31 37 35 30 30 | 225 | 5217500|
|00001290| 33 35 34 20 20 20 35 37 | 37 35 00 20 00 00 00 00 |354 57|75. ....|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 42 4c 55 52 42 0a 52 45 | 41 44 4d 45 0a 46 49 4c |BLURB.RE|ADME.FIL|
|00001410| 45 53 0a 46 4f 52 4d 4c | 45 54 54 45 52 0a 43 48 |ES.FORML|ETTER.CH|
|00001420| 41 4e 47 45 53 0a 49 4e | 53 54 41 4c 4c 0a 4d 61 |ANGES.IN|STALL.Ma|
|00001430| 6b 65 66 69 6c 65 0a 61 | 75 74 68 64 2e 38 0a 61 |kefile.a|uthd.8.a|
|00001440| 75 74 68 75 73 65 72 2e | 33 0a 74 63 70 75 69 64 |uthuser.|3.tcpuid|
|00001450| 2e 38 0a 74 63 70 75 6e | 61 6d 65 2e 38 0a 61 75 |.8.tcpun|ame.8.au|
|00001460| 74 68 64 2e 63 0a 61 75 | 74 68 75 73 65 72 2e 68 |thd.c.au|thuser.h|
|00001470| 0a 61 75 74 68 75 73 65 | 72 2e 63 0a 74 65 73 74 |.authuse|r.c.test|
|00001480| 2e 63 0a 6e 65 74 73 74 | 61 74 75 69 64 0a 72 66 |.c.netst|atuid.rf|
|00001490| 63 39 33 31 0a 06 52 45 | 41 44 4d 45 00 65 00 01 |c931..RE|ADME.e..|
|000014a0| 97 74 2a 8b 00 24 00 0d | 00 09 00 01 52 45 41 44 |.t*..$..|....READ|
|000014b0| 4d 45 2e 41 70 6f 6c 6c | 6f 00 4d 45 2e 41 70 6f |ME.Apoll|o.ME.Apo|
|000014c0| 6c 6c 6f 00 96 7a 0b e6 | 00 20 00 07 00 0a 00 01 |llo..z..|. ......|
|000014d0| 61 75 74 68 64 2e 38 00 | 00 07 61 75 74 68 64 2e |authd.8.|..authd.|
|000014e0| 38 00 6f 00 96 7a 0d 7a | 00 20 00 07 00 0b 00 01 |8.o..z.z|. ......|
|000014f0| 61 75 74 68 64 2e 63 00 | 00 07 61 75 74 68 64 2e |authd.c.|..authd.|
|00001500| 63 00 00 01 96 7a 0c 57 | 00 24 00 0a 00 0c 00 01 |c....z.W|.$......|
|00001510| 61 75 74 68 75 73 65 72 | 2e 33 00 75 74 68 75 73 |authuser|.3.uthus|
|00001520| 65 72 2e 33 00 24 00 01 | 96 7a 0e 4c 00 24 00 0a |er.3.$..|.z.L.$..|
|00001530| 00 0d 00 01 61 75 74 68 | 75 73 65 72 2e 63 00 75 |....auth|user.c.u|
|00001540| 74 68 75 73 65 72 2e 63 | 00 24 00 01 96 7a 0d eb |thuser.c|.$...z..|
|00001550| 00 24 00 0a 00 0e 00 01 | 61 75 74 68 75 73 65 72 |.$......|authuser|
|00001560| 2e 68 00 75 74 68 75 73 | 65 72 2e 68 00 24 00 01 |.h.uthus|er.h.$..|
|00001570| 96 7a 0f 0e 00 24 00 0a | 00 0f 00 01 6e 65 74 73 |.z...$..|....nets|
|00001580| 74 61 74 75 69 64 00 65 | 74 73 74 61 74 75 69 64 |tatuid.e|tstatuid|
|00001590| 00 24 00 01 96 7a 0f 8f | 00 20 00 06 00 10 00 01 |.$...z..|. ......|
|000015a0| 72 66 63 39 33 31 00 01 | 00 06 72 66 63 39 33 31 |rfc931..|..rfc931|
|000015b0| 00 68 75 73 96 7a 0c b8 | 00 20 00 08 00 11 00 01 |.hus.z..|. ......|
|000015c0| 74 63 70 75 69 64 2e 38 | 00 08 74 63 70 75 69 64 |tcpuid.8|..tcpuid|
|000015d0| 2e 38 00 75 96 7a 0d 19 | 00 24 00 0a 00 12 00 01 |.8.u.z..|.$......|
|000015e0| 74 63 70 75 6e 61 6d 65 | 2e 38 00 63 70 75 6e 61 |tcpuname|.8.cpuna|
|000015f0| 6d 65 2e 38 00 24 00 01 | 96 7a 0e ad 00 20 00 06 |me.8.$..|.z... ..|
|00001600| 61 75 74 68 64 2f 46 4f | 52 4d 4c 45 54 54 45 52 |authd/FO|RMLETTER|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00001670| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00001680| 20 20 20 20 36 34 33 20 | 20 35 32 31 37 35 30 30 | 643 | 5217500|
|00001690| 33 35 36 20 20 20 36 36 | 32 34 00 20 00 00 00 00 |356 66|24. ....|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 54 6f 3a 20 62 72 6e 73 | 74 6e 64 40 6e 79 75 2e |To: brns|tnd@nyu.|
|00001810| 65 64 75 0a 46 72 6f 6d | 3a 20 0a 44 61 74 65 3a |edu.From|: .Date:|
|00001820| 20 0a 0a 50 61 63 6b 61 | 67 65 3a 20 61 75 74 68 | ..Packa|ge: auth|
|00001830| 64 20 33 2e 30 31 0a 4f | 62 74 61 69 6e 65 64 20 |d 3.01.O|btained |
|00001840| 66 72 6f 6d 20 28 65 2e | 67 2e 2c 20 75 75 6e 65 |from (e.|g., uune|
|00001850| 74 2e 75 75 2e 6e 65 74 | 29 3a 20 0a 4f 62 74 61 |t.uu.net|): .Obta|
|00001860| 69 6e 65 64 20 62 79 20 | 28 65 2e 67 2e 2c 20 66 |ined by |(e.g., f|
|00001870| 74 70 29 3a 20 0a 0a 31 | 2e 20 4d 61 63 68 69 6e |tp): ..1|. Machin|
|00001880| 65 20 61 72 63 68 69 74 | 65 63 74 75 72 65 20 28 |e archit|ecture (|
|00001890| 65 2e 67 2e 2c 20 53 75 | 6e 20 34 2f 32 38 30 29 |e.g., Su|n 4/280)|
|000018a0| 3a 20 0a 32 2e 20 4f 70 | 65 72 61 74 69 6e 67 20 |: .2. Op|erating |
|000018b0| 73 79 73 74 65 6d 20 28 | 65 2e 67 2e 2c 20 53 75 |system (|e.g., Su|
|000018c0| 6e 4f 53 20 34 2e 31 29 | 3a 20 0a 33 2e 20 4f 53 |nOS 4.1)|: .3. OS|
|000018d0| 20 76 65 6e 64 6f 72 20 | 28 65 2e 67 2e 2c 20 53 | vendor |(e.g., S|
|000018e0| 75 6e 29 3a 20 0a 34 2e | 20 44 6f 65 73 20 61 75 |un): .4.| Does au|
|000018f0| 74 68 64 20 77 6f 72 6b | 20 6f 6e 20 79 6f 75 72 |thd work| on your|
|00001900| 20 6d 61 63 68 69 6e 65 | 20 73 6f 20 66 61 72 20 | machine| so far |
|00001910| 28 79 65 73 2f 6e 6f 29 | 3f 20 0a 35 2e 20 44 65 |(yes/no)|? .5. De|
|00001920| 73 63 72 69 62 65 20 61 | 6e 79 20 70 72 6f 62 6c |scribe a|ny probl|
|00001930| 65 6d 73 20 79 6f 75 27 | 76 65 20 68 61 64 20 77 |ems you'|ve had w|
|00001940| 69 74 68 20 61 75 74 68 | 64 2c 20 74 63 70 75 69 |ith auth|d, tcpui|
|00001950| 64 2c 20 6f 72 20 74 63 | 70 75 6e 61 6d 65 2e 0a |d, or tc|puname..|
|00001960| 0a 0a 36 2e 20 41 6e 79 | 20 66 75 72 74 68 65 72 |..6. Any| further|
|00001970| 20 71 75 65 73 74 69 6f | 6e 73 2c 20 63 6f 6d 6d | questio|ns, comm|
|00001980| 65 6e 74 73 2c 20 6f 72 | 20 73 75 67 67 65 73 74 |ents, or| suggest|
|00001990| 69 6f 6e 73 3f 0a 0a 0a | 59 6f 75 72 20 6e 61 6d |ions?...|Your nam|
|000019a0| 65 3a 0a 01 74 63 70 75 | 69 64 2e 38 00 08 74 63 |e:..tcpu|id.8..tc|
|000019b0| 70 75 69 64 2e 38 00 01 | 96 7a 0d 19 00 24 00 0a |puid.8..|.z...$..|
|000019c0| 00 12 00 01 74 63 70 75 | 6e 61 6d 65 2e 38 00 63 |....tcpu|name.8.c|
|000019d0| 70 75 6e 61 6d 65 2e 38 | 00 67 a0 d1 96 7a 0e ad |puname.8|.g...z..|
|000019e0| 00 20 00 06 00 13 00 01 | 74 65 73 74 2e 63 00 01 |. ......|test.c..|
|000019f0| 00 06 74 65 73 74 2e 63 | 00 20 00 01 00 20 00 06 |..test.c|. ... ..|
|00001a00| 61 75 74 68 64 2f 49 4e | 53 54 41 4c 4c 00 00 00 |authd/IN|STALL...|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 20 20 20 37 | 30 30 20 00 20 20 20 31 |.... 7|00 . 1|
|00001a70| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00001a80| 20 20 20 37 30 35 37 20 | 20 35 32 31 37 35 30 30 | 7057 | 5217500|
|00001a90| 33 36 31 20 20 20 36 32 | 37 32 00 20 00 00 00 00 |361 62|72. ....|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 23 21 2f 62 69 6e 2f 73 | 68 0a 0a 23 20 43 68 61 |#!/bin/s|h..# Cha|
|00001c10| 6e 67 65 20 6b 6d 65 6d | 20 74 6f 20 73 74 61 66 |nge kmem| to staf|
|00001c20| 66 20 61 6e 64 20 6d 6f | 64 65 20 74 6f 20 30 37 |f and mo|de to 07|
|00001c30| 35 35 20 69 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |55 if yo|u don't |
|00001c40| 68 61 76 65 20 61 20 6b | 6d 65 6d 20 67 72 6f 75 |have a k|mem grou|
|00001c50| 70 2c 0a 23 20 6f 72 20 | 69 66 20 79 6f 75 20 64 |p,.# or |if you d|
|00001c60| 6f 6e 27 74 20 77 61 6e | 74 20 6e 6f 72 6d 61 6c |on't wan|t normal|
|00001c70| 20 75 73 65 72 73 20 74 | 6f 20 62 65 20 61 62 6c | users t|o be abl|
|00001c80| 65 20 74 6f 20 75 73 65 | 20 74 68 65 73 65 20 75 |e to use| these u|
|00001c90| 74 69 6c 69 74 69 65 73 | 2e 0a 4d 45 4d 3d 6b 6d |tilities|..MEM=km|
|00001ca0| 65 6d 0a 4d 4f 44 45 3d | 30 32 37 35 35 0a 0a 23 |em.MODE=|02755..#|
|00001cb0| 20 54 68 65 73 65 20 6d | 75 73 74 20 61 6c 6c 20 | These m|ust all |
|00001cc0| 62 65 20 69 6e 20 74 68 | 65 20 73 61 6d 65 20 66 |be in th|e same f|
|00001cd0| 69 6c 65 73 79 73 74 65 | 6d 2e 0a 41 55 54 48 44 |ilesyste|m..AUTHD|
|00001ce0| 3d 2f 65 74 63 2f 61 75 | 74 68 64 0a 54 43 50 55 |=/etc/au|thd.TCPU|
|00001cf0| 49 44 3d 2f 65 74 63 2f | 74 63 70 75 69 64 0a 54 |ID=/etc/|tcpuid.T|
|00001d00| 43 50 55 4e 41 4d 45 3d | 2f 65 74 63 2f 74 63 70 |CPUNAME=|/etc/tcp|
|00001d10| 75 6e 61 6d 65 0a 0a 41 | 55 54 48 55 53 45 52 3d |uname..A|UTHUSER=|
|00001d20| 2f 75 73 72 2f 6c 69 62 | 2f 6c 69 62 61 75 74 68 |/usr/lib|/libauth|
|00001d30| 75 73 65 72 2e 61 0a 41 | 55 54 48 55 53 45 52 48 |user.a.A|UTHUSERH|
|00001d40| 3d 2f 75 73 72 2f 69 6e | 63 6c 75 64 65 2f 61 75 |=/usr/in|clude/au|
|00001d50| 74 68 75 73 65 72 2e 68 | 0a 0a 23 20 4d 61 6e 20 |thuser.h|..# Man |
|00001d60| 70 61 67 65 73 2e 0a 4d | 41 55 54 48 55 53 45 52 |pages..M|AUTHUSER|
|00001d70| 3d 2f 75 73 72 2f 6d 61 | 6e 2f 6d 61 6e 33 2f 61 |=/usr/ma|n/man3/a|
|00001d80| 75 74 68 75 73 65 72 2e | 33 0a 4d 41 55 54 48 44 |uthuser.|3.MAUTHD|
|00001d90| 3d 2f 75 73 72 2f 6d 61 | 6e 2f 6d 61 6e 38 2f 61 |=/usr/ma|n/man8/a|
|00001da0| 75 74 68 64 2e 38 0a 4d | 54 43 50 55 49 44 3d 2f |uthd.8.M|TCPUID=/|
|00001db0| 75 73 72 2f 6d 61 6e 2f | 6d 61 6e 38 2f 74 63 70 |usr/man/|man8/tcp|
|00001dc0| 75 69 64 2e 38 0a 4d 54 | 43 50 55 4e 41 4d 45 3d |uid.8.MT|CPUNAME=|
|00001dd0| 2f 75 73 72 2f 6d 61 6e | 2f 6d 61 6e 38 2f 74 63 |/usr/man|/man8/tc|
|00001de0| 70 75 6e 61 6d 65 2e 38 | 0a 0a 23 20 4e 61 6d 65 |puname.8|..# Name|
|00001df0| 20 6f 66 20 70 6f 72 74 | 20 31 31 33 20 69 6e 20 | of port| 113 in |
|00001e00| 2f 65 74 63 2f 73 65 72 | 76 69 63 65 73 2e 0a 50 |/etc/ser|vices..P|
|00001e10| 4f 52 54 4e 41 4d 45 3d | 61 75 74 68 0a 0a 65 63 |ORTNAME=|auth..ec|
|00001e20| 68 6f 20 22 45 61 63 68 | 20 61 63 74 69 6f 6e 20 |ho "Each| action |
|00001e30| 77 69 6c 6c 20 62 65 20 | 70 72 69 6e 74 65 64 20 |will be |printed |
|00001e40| 62 65 66 6f 72 65 20 69 | 74 20 69 73 20 72 75 6e |before i|t is run|
|00001e50| 2e 20 50 72 65 73 73 20 | 72 65 74 75 72 6e 20 74 |. Press |return t|
|00001e60| 6f 20 70 72 6f 63 65 65 | 64 2e 22 0a 0a 65 63 68 |o procee|d."..ech|
|00001e70| 6f 20 22 31 2e 20 49 6e | 73 74 61 6c 6c 20 61 75 |o "1. In|stall au|
|00001e80| 74 68 64 2c 20 74 63 70 | 75 69 64 2c 20 61 6e 64 |thd, tcp|uid, and|
|00001e90| 20 74 63 70 75 6e 61 6d | 65 2e 22 0a 65 63 68 6f | tcpunam|e.".echo|
|00001ea0| 20 22 21 20 69 6e 73 74 | 61 6c 6c 20 2d 63 20 2d | "! inst|all -c -|
|00001eb0| 67 20 24 4d 45 4d 20 2d | 6d 20 24 4d 4f 44 45 20 |g $MEM -|m $MODE |
|00001ec0| 61 75 74 68 64 20 24 41 | 55 54 48 44 3a 20 22 20 |authd $A|UTHD: " |
|00001ed0| 7c 20 74 72 20 2d 64 20 | 27 5c 30 31 32 27 0a 72 || tr -d |'\012'.r|
|00001ee0| 65 61 64 20 6c 69 6e 65 | 0a 69 6e 73 74 61 6c 6c |ead line|.install|
|00001ef0| 20 2d 63 20 2d 67 20 22 | 24 4d 45 4d 22 20 2d 6d | -c -g "|$MEM" -m|
|00001f00| 20 22 24 4d 4f 44 45 22 | 20 61 75 74 68 64 20 22 | "$MODE"| authd "|
|00001f10| 24 41 55 54 48 44 22 0a | 0a 65 63 68 6f 20 22 21 |$AUTHD".|.echo "!|
|00001f20| 20 72 6d 20 2d 66 20 24 | 54 43 50 55 49 44 3b 20 | rm -f $|TCPUID; |
|00001f30| 6c 6e 20 24 41 55 54 48 | 44 20 24 54 43 50 55 49 |ln $AUTH|D $TCPUI|
|00001f40| 44 3a 20 22 20 7c 20 74 | 72 20 2d 64 20 27 5c 30 |D: " | t|r -d '\0|
|00001f50| 31 32 27 0a 72 65 61 64 | 20 6c 69 6e 65 0a 72 6d |12'.read| line.rm|
|00001f60| 20 2d 66 20 22 24 54 43 | 50 55 49 44 22 3b 20 6c | -f "$TC|PUID"; l|
|00001f70| 6e 20 22 24 41 55 54 48 | 44 22 20 22 24 54 43 50 |n "$AUTH|D" "$TCP|
|00001f80| 55 49 44 22 0a 0a 65 63 | 68 6f 20 22 21 20 72 6d |UID"..ec|ho "! rm|
|00001f90| 20 2d 66 20 24 54 43 50 | 55 4e 41 4d 45 3b 20 6c | -f $TCP|UNAME; l|
|00001fa0| 6e 20 24 41 55 54 48 44 | 20 24 54 43 50 55 4e 41 |n $AUTHD| $TCPUNA|
|00001fb0| 4d 45 3a 20 22 20 7c 20 | 74 72 20 2d 64 20 27 5c |ME: " | |tr -d '\|
|00001fc0| 30 31 32 27 0a 72 65 61 | 64 20 6c 69 6e 65 0a 72 |012'.rea|d line.r|
|00001fd0| 6d 20 2d 66 20 22 24 54 | 43 50 55 4e 41 4d 45 22 |m -f "$T|CPUNAME"|
|00001fe0| 3b 20 6c 6e 20 22 24 41 | 55 54 48 44 22 20 22 24 |; ln "$A|UTHD" "$|
|00001ff0| 54 43 50 55 4e 41 4d 45 | 22 0a 0a 65 63 68 6f 20 |TCPUNAME|"..echo |
|00002000| 22 32 2e 20 49 6e 73 74 | 61 6c 6c 20 74 68 65 20 |"2. Inst|all the |
|00002010| 61 75 74 68 75 73 65 72 | 20 6c 69 62 72 61 72 79 |authuser| library|
|00002020| 2e 22 0a 65 63 68 6f 20 | 22 21 20 69 6e 73 74 61 |.".echo |"! insta|
|00002030| 6c 6c 20 2d 63 20 2d 6d | 20 30 34 34 34 20 61 75 |ll -c -m| 0444 au|
|00002040| 74 68 75 73 65 72 2e 68 | 20 24 41 55 54 48 55 53 |thuser.h| $AUTHUS|
|00002050| 45 52 48 3a 20 22 20 7c | 20 74 72 20 2d 64 20 27 |ERH: " || tr -d '|
|00002060| 5c 30 31 32 27 0a 72 65 | 61 64 20 6c 69 6e 65 0a |\012'.re|ad line.|
|00002070| 69 6e 73 74 61 6c 6c 20 | 2d 63 20 2d 6d 20 30 34 |install |-c -m 04|
|00002080| 34 34 20 61 75 74 68 75 | 73 65 72 2e 68 20 22 24 |44 authu|ser.h "$|
|00002090| 41 55 54 48 55 53 45 52 | 48 22 0a 0a 65 63 68 6f |AUTHUSER|H"..echo|
|000020a0| 20 22 21 20 61 72 20 72 | 76 20 24 41 55 54 48 55 | "! ar r|v $AUTHU|
|000020b0| 53 45 52 20 61 75 74 68 | 75 73 65 72 2e 6f 3a 20 |SER auth|user.o: |
|000020c0| 22 20 7c 20 74 72 20 2d | 64 20 27 5c 30 31 32 27 |" | tr -|d '\012'|
|000020d0| 0a 72 65 61 64 20 6c 69 | 6e 65 0a 61 72 20 72 76 |.read li|ne.ar rv|
|000020e0| 20 22 24 41 55 54 48 55 | 53 45 52 22 20 61 75 74 | "$AUTHU|SER" aut|
|000020f0| 68 75 73 65 72 2e 6f 0a | 0a 65 63 68 6f 20 22 21 |huser.o.|.echo "!|
|00002100| 20 72 61 6e 6c 69 62 20 | 24 41 55 54 48 55 53 45 | ranlib |$AUTHUSE|
|00002110| 52 3a 20 22 20 7c 20 74 | 72 20 2d 64 20 27 5c 30 |R: " | t|r -d '\0|
|00002120| 31 32 27 0a 72 65 61 64 | 20 6c 69 6e 65 0a 72 61 |12'.read| line.ra|
|00002130| 6e 6c 69 62 20 22 24 41 | 55 54 48 55 53 45 52 22 |nlib "$A|UTHUSER"|
|00002140| 0a 0a 65 63 68 6f 20 22 | 21 20 63 68 6d 6f 64 20 |..echo "|! chmod |
|00002150| 36 34 34 20 24 41 55 54 | 48 55 53 45 52 3a 20 22 |644 $AUT|HUSER: "|
|00002160| 20 7c 20 74 72 20 2d 64 | 20 27 5c 30 31 32 27 0a | | tr -d| '\012'.|
|00002170| 72 65 61 64 20 6c 69 6e | 65 0a 63 68 6d 6f 64 20 |read lin|e.chmod |
|00002180| 36 34 34 20 22 24 41 55 | 54 48 55 53 45 52 22 0a |644 "$AU|THUSER".|
|00002190| 0a 65 63 68 6f 20 22 33 | 2e 20 4d 61 6b 65 20 74 |.echo "3|. Make t|
|000021a0| 68 65 20 6d 61 6e 20 70 | 61 67 65 73 20 61 76 61 |he man p|ages ava|
|000021b0| 69 6c 61 62 6c 65 2e 22 | 0a 65 63 68 6f 20 22 21 |ilable."|.echo "!|
|000021c0| 20 69 6e 73 74 61 6c 6c | 20 2d 63 20 2d 6d 20 30 | install| -c -m 0|
|000021d0| 34 34 34 20 61 75 74 68 | 75 73 65 72 2e 33 20 24 |444 auth|user.3 $|
|000021e0| 4d 41 55 54 48 55 53 45 | 52 3a 20 22 20 7c 20 74 |MAUTHUSE|R: " | t|
|000021f0| 72 20 2d 64 20 27 5c 30 | 31 32 27 0a 72 65 61 64 |r -d '\0|12'.read|
|00002200| 20 6c 69 6e 65 0a 69 6e | 73 74 61 6c 6c 20 2d 63 | line.in|stall -c|
|00002210| 20 2d 6d 20 30 34 34 34 | 20 61 75 74 68 75 73 65 | -m 0444| authuse|
|00002220| 72 2e 33 20 22 24 4d 41 | 55 54 48 55 53 45 52 22 |r.3 "$MA|UTHUSER"|
|00002230| 0a 0a 65 63 68 6f 20 22 | 21 20 69 6e 73 74 61 6c |..echo "|! instal|
|00002240| 6c 20 2d 63 20 2d 6d 20 | 30 34 34 34 20 61 75 74 |l -c -m |0444 aut|
|00002250| 68 64 2e 38 20 24 4d 41 | 55 54 48 44 3a 20 22 20 |hd.8 $MA|UTHD: " |
|00002260| 7c 20 74 72 20 2d 64 20 | 27 5c 30 31 32 27 0a 72 || tr -d |'\012'.r|
|00002270| 65 61 64 20 6c 69 6e 65 | 0a 69 6e 73 74 61 6c 6c |ead line|.install|
|00002280| 20 2d 63 20 2d 6d 20 30 | 34 34 34 20 61 75 74 68 | -c -m 0|444 auth|
|00002290| 64 2e 38 20 22 24 4d 41 | 55 54 48 44 22 0a 0a 65 |d.8 "$MA|UTHD"..e|
|000022a0| 63 68 6f 20 22 21 20 69 | 6e 73 74 61 6c 6c 20 2d |cho "! i|nstall -|
|000022b0| 63 20 2d 6d 20 30 34 34 | 34 20 74 63 70 75 69 64 |c -m 044|4 tcpuid|
|000022c0| 2e 38 20 24 4d 54 43 50 | 55 49 44 3a 20 22 20 7c |.8 $MTCP|UID: " ||
|000022d0| 20 74 72 20 2d 64 20 27 | 5c 30 31 32 27 0a 72 65 | tr -d '|\012'.re|
|000022e0| 61 64 20 6c 69 6e 65 0a | 69 6e 73 74 61 6c 6c 20 |ad line.|install |
|000022f0| 2d 63 20 2d 6d 20 30 34 | 34 34 20 74 63 70 75 69 |-c -m 04|44 tcpui|
|00002300| 64 2e 38 20 22 24 4d 54 | 43 50 55 49 44 22 0a 0a |d.8 "$MT|CPUID"..|
|00002310| 65 63 68 6f 20 22 21 20 | 69 6e 73 74 61 6c 6c 20 |echo "! |install |
|00002320| 2d 63 20 2d 6d 20 30 34 | 34 34 20 74 63 70 75 6e |-c -m 04|44 tcpun|
|00002330| 61 6d 65 2e 38 20 24 4d | 54 43 50 55 4e 41 4d 45 |ame.8 $M|TCPUNAME|
|00002340| 3a 20 22 20 7c 20 74 72 | 20 2d 64 20 27 5c 30 31 |: " | tr| -d '\01|
|00002350| 32 27 0a 72 65 61 64 20 | 6c 69 6e 65 0a 69 6e 73 |2'.read |line.ins|
|00002360| 74 61 6c 6c 20 2d 63 20 | 2d 6d 20 30 34 34 34 20 |tall -c |-m 0444 |
|00002370| 74 63 70 75 6e 61 6d 65 | 2e 38 20 22 24 4d 54 43 |tcpuname|.8 "$MTC|
|00002380| 50 55 4e 41 4d 45 22 0a | 0a 65 63 68 6f 20 22 34 |PUNAME".|.echo "4|
|00002390| 2e 20 4d 61 6b 65 20 73 | 75 72 65 20 61 6e 20 61 |. Make s|ure an a|
|000023a0| 75 74 68 20 70 6f 72 74 | 20 69 73 20 69 6e 20 2f |uth port| is in /|
|000023b0| 65 74 63 2f 73 65 72 76 | 69 63 65 73 2e 22 0a 65 |etc/serv|ices.".e|
|000023c0| 63 68 6f 20 22 4c 65 74 | 20 6d 65 20 67 6c 61 6e |cho "Let| me glan|
|000023d0| 63 65 20 61 74 20 2f 65 | 74 63 2f 73 65 72 76 69 |ce at /e|tc/servi|
|000023e0| 63 65 73 20 66 6f 72 20 | 79 6f 75 2e 2e 2e 22 0a |ces for |you...".|
|000023f0| 69 66 20 67 72 65 70 20 | 27 5e 27 24 50 4f 52 54 |if grep |'^'$PORT|
|00002400| 4e 41 4d 45 27 5b 20 09 | 5d 2a 31 31 33 2f 74 63 |NAME'[ .|]*113/tc|
|00002410| 70 27 20 2f 65 74 63 2f | 73 65 72 76 69 63 65 73 |p' /etc/|services|
|00002420| 20 3e 2f 64 65 76 2f 6e | 75 6c 6c 20 32 3e 26 31 | >/dev/n|ull 2>&1|
|00002430| 0a 74 68 65 6e 20 65 63 | 68 6f 20 22 4f 6b 61 79 |.then ec|ho "Okay|
|00002440| 2c 20 79 6f 75 20 68 61 | 76 65 20 69 74 20 61 6c |, you ha|ve it al|
|00002450| 72 65 61 64 79 2e 20 4c | 65 74 27 73 20 63 6f 6e |ready. L|et's con|
|00002460| 74 69 6e 75 65 2e 22 0a | 65 6c 73 65 20 65 63 68 |tinue.".|else ech|
|00002470| 6f 20 22 4e 6f 70 65 2c | 20 69 74 27 73 20 6e 6f |o "Nope,| it's no|
|00002480| 74 20 74 68 65 72 65 2e | 22 0a 20 20 20 20 20 65 |t there.|". e|
|00002490| 63 68 6f 20 22 4c 65 74 | 20 6d 65 20 63 68 65 63 |cho "Let| me chec|
|000024a0| 6b 20 74 68 61 74 20 79 | 6f 75 20 64 6f 6e 27 74 |k that y|ou don't|
|000024b0| 20 68 61 76 65 20 61 20 | 64 69 66 66 65 72 65 6e | have a |differen|
|000024c0| 74 20 61 75 74 68 20 70 | 6f 72 74 2e 2e 2e 22 0a |t auth p|ort...".|
|000024d0| 20 20 20 20 20 69 66 20 | 67 72 65 70 20 27 5e 27 | if |grep '^'|
|000024e0| 24 50 4f 52 54 4e 41 4d | 45 27 5b 20 09 5d 5b 20 |$PORTNAM|E'[ .][ |
|000024f0| 09 5d 2a 27 20 2f 65 74 | 63 2f 73 65 72 76 69 63 |.]*' /et|c/servic|
|00002500| 65 73 20 3e 2f 64 65 76 | 2f 6e 75 6c 6c 20 32 3e |es >/dev|/null 2>|
|00002510| 26 31 0a 20 20 20 20 20 | 74 68 65 6e 20 65 63 68 |&1. |then ech|
|00002520| 6f 20 22 41 61 61 63 6b | 21 20 24 50 4f 52 54 4e |o "Aaack|! $PORTN|
|00002530| 41 4d 45 20 69 73 20 61 | 6c 72 65 61 64 79 20 75 |AME is a|lready u|
|00002540| 73 65 64 20 69 6e 20 2f | 65 74 63 2f 73 65 72 76 |sed in /|etc/serv|
|00002550| 69 63 65 73 2e 20 45 78 | 69 74 69 6e 67 2e 22 0a |ices. Ex|iting.".|
|00002560| 09 20 20 65 78 69 74 20 | 31 0a 20 20 20 20 20 66 |. exit |1. f|
|00002570| 69 0a 20 20 20 20 20 65 | 63 68 6f 20 22 21 20 65 |i. e|cho "! e|
|00002580| 63 68 6f 20 24 50 4f 52 | 54 4e 41 4d 45 27 09 31 |cho $POR|TNAME'.1|
|00002590| 31 33 2f 74 63 70 27 20 | 3e 3e 20 2f 65 74 63 2f |13/tcp' |>> /etc/|
|000025a0| 73 65 72 76 69 63 65 73 | 3a 20 22 20 7c 20 74 72 |services|: " | tr|
|000025b0| 20 2d 64 20 27 5c 30 31 | 32 27 0a 20 20 20 20 20 | -d '\01|2'. |
|000025c0| 72 65 61 64 20 6c 69 6e | 65 0a 20 20 20 20 20 65 |read lin|e. e|
|000025d0| 63 68 6f 20 22 24 50 4f | 52 54 4e 41 4d 45 22 27 |cho "$PO|RTNAME"'|
|000025e0| 09 09 31 31 33 2f 74 63 | 70 27 20 3e 3e 20 2f 65 |..113/tc|p' >> /e|
|000025f0| 74 63 2f 73 65 72 76 69 | 63 65 73 0a 66 69 0a 0a |tc/servi|ces.fi..|
|00002600| 65 63 68 6f 20 22 35 2e | 20 45 6e 61 62 6c 65 20 |echo "5.| Enable |
|00002610| 61 75 74 68 20 69 6e 20 | 2f 65 74 63 2f 69 6e 65 |auth in |/etc/ine|
|00002620| 74 64 2e 63 6f 6e 66 2e | 22 0a 65 63 68 6f 20 22 |td.conf.|".echo "|
|00002630| 4c 65 74 20 6d 65 20 67 | 6c 61 6e 63 65 20 61 74 |Let me g|lance at|
|00002640| 20 2f 65 74 63 2f 69 6e | 65 74 64 2e 63 6f 6e 66 | /etc/in|etd.conf|
|00002650| 20 66 6f 72 20 79 6f 75 | 2e 2e 2e 22 0a 69 66 20 | for you|...".if |
|00002660| 67 72 65 70 20 27 5e 27 | 22 24 50 4f 52 54 4e 41 |grep '^'|"$PORTNA|
|00002670| 4d 45 22 27 5b 20 09 5d | 27 20 2f 65 74 63 2f 69 |ME"'[ .]|' /etc/i|
|00002680| 6e 65 74 64 2e 63 6f 6e | 66 20 3e 2f 64 65 76 2f |netd.con|f >/dev/|
|00002690| 6e 75 6c 6c 20 32 3e 26 | 31 0a 74 68 65 6e 20 65 |null 2>&|1.then e|
|000026a0| 63 68 6f 20 22 4f 6b 61 | 79 2c 20 69 74 27 73 20 |cho "Oka|y, it's |
|000026b0| 61 6c 72 65 61 64 79 20 | 74 68 65 72 65 2e 20 54 |already |there. T|
|000026c0| 68 61 74 27 73 20 69 74 | 21 22 0a 20 20 20 20 20 |hat's it|!". |
|000026d0| 65 78 69 74 20 30 0a 66 | 69 0a 69 66 20 67 72 65 |exit 0.f|i.if gre|
|000026e0| 70 20 27 74 65 6c 6e 65 | 74 2e 2a 72 6f 6f 74 27 |p 'telne|t.*root'|
|000026f0| 20 2f 65 74 63 2f 69 6e | 65 74 64 2e 63 6f 6e 66 | /etc/in|etd.conf|
|00002700| 20 3e 2f 64 65 76 2f 6e | 75 6c 6c 20 32 3e 26 31 | >/dev/n|ull 2>&1|
|00002710| 0a 74 68 65 6e 20 65 63 | 68 6f 20 22 49 74 27 73 |.then ec|ho "It's|
|00002720| 20 6e 6f 74 20 74 68 65 | 72 65 20 79 65 74 2e 20 | not the|re yet. |
|00002730| 48 6d 6d 6d 2c 20 6c 6f | 6f 6b 73 20 6c 69 6b 65 |Hmmm, lo|oks like|
|00002740| 20 79 6f 75 20 68 61 76 | 65 20 61 20 53 75 6e 2d | you hav|e a Sun-|
|00002750| 73 74 79 6c 65 20 69 6e | 65 74 64 2e 22 0a 20 20 |style in|etd.". |
|00002760| 20 20 20 65 63 68 6f 20 | 22 21 20 65 63 68 6f 20 | echo |"! echo |
|00002770| 24 50 4f 52 54 4e 41 4d | 45 27 20 73 74 72 65 61 |$PORTNAM|E' strea|
|00002780| 6d 20 74 63 70 20 6e 6f | 77 61 69 74 20 72 6f 6f |m tcp no|wait roo|
|00002790| 74 20 27 24 41 55 54 48 | 44 27 20 61 75 74 68 64 |t '$AUTH|D' authd|
|000027a0| 27 20 3e 3e 20 2f 65 74 | 63 2f 69 6e 65 74 64 2e |' >> /et|c/inetd.|
|000027b0| 63 6f 6e 66 3a 20 22 20 | 7c 20 74 72 20 2d 64 20 |conf: " || tr -d |
|000027c0| 27 5c 30 31 32 27 0a 20 | 20 20 20 20 72 65 61 64 |'\012'. | read|
|000027d0| 20 6c 69 6e 65 0a 20 20 | 20 20 20 65 63 68 6f 20 | line. | echo |
|000027e0| 22 24 50 4f 52 54 4e 41 | 4d 45 22 27 09 73 74 72 |"$PORTNA|ME"'.str|
|000027f0| 65 61 6d 09 74 63 70 09 | 6e 6f 77 61 69 74 09 72 |eam.tcp.|nowait.r|
|00002800| 6f 6f 74 09 27 22 24 41 | 55 54 48 44 22 27 09 61 |oot.'"$A|UTHD"'.a|
|00002810| 75 74 68 64 27 20 3e 3e | 20 2f 65 74 63 2f 69 6e |uthd' >>| /etc/in|
|00002820| 65 74 64 2e 63 6f 6e 66 | 0a 65 6c 73 65 20 65 63 |etd.conf|.else ec|
|00002830| 68 6f 20 22 49 74 27 73 | 20 6e 6f 74 20 74 68 65 |ho "It's| not the|
|00002840| 72 65 20 79 65 74 2e 22 | 0a 20 20 20 20 20 65 63 |re yet."|. ec|
|00002850| 68 6f 20 22 21 20 65 63 | 68 6f 20 24 50 4f 52 54 |ho "! ec|ho $PORT|
|00002860| 4e 41 4d 45 27 20 73 74 | 72 65 61 6d 20 74 63 70 |NAME' st|ream tcp|
|00002870| 20 6e 6f 77 61 69 74 20 | 27 24 41 55 54 48 44 27 | nowait |'$AUTHD'|
|00002880| 20 61 75 74 68 64 27 20 | 3e 3e 20 2f 65 74 63 2f | authd' |>> /etc/|
|00002890| 69 6e 65 74 64 2e 63 6f | 6e 66 3a 20 22 20 7c 20 |inetd.co|nf: " | |
|000028a0| 74 72 20 2d 64 20 27 5c | 30 31 32 27 0a 20 20 20 |tr -d '\|012'. |
|000028b0| 20 20 72 65 61 64 20 6c | 69 6e 65 0a 20 20 20 20 | read l|ine. |
|000028c0| 20 65 63 68 6f 20 22 24 | 50 4f 52 54 4e 41 4d 45 | echo "$|PORTNAME|
|000028d0| 22 27 09 73 74 72 65 61 | 6d 09 74 63 70 09 6e 6f |"'.strea|m.tcp.no|
|000028e0| 77 61 69 74 09 27 22 24 | 41 55 54 48 44 22 27 09 |wait.'"$|AUTHD"'.|
|000028f0| 61 75 74 68 64 27 20 3e | 3e 20 2f 65 74 63 2f 69 |authd' >|> /etc/i|
|00002900| 6e 65 74 64 2e 63 6f 6e | 66 0a 66 69 0a 0a 65 63 |netd.con|f.fi..ec|
|00002910| 68 6f 20 22 36 2e 20 4c | 65 74 20 69 6e 65 74 64 |ho "6. L|et inetd|
|00002920| 20 6b 6e 6f 77 20 61 62 | 6f 75 74 20 74 68 65 20 | know ab|out the |
|00002930| 6e 65 77 20 73 65 72 76 | 69 63 65 2e 22 0a 65 63 |new serv|ice.".ec|
|00002940| 68 6f 20 22 4f 6e 20 6d | 6f 73 74 20 6d 61 63 68 |ho "On m|ost mach|
|00002950| 69 6e 65 73 20 79 6f 75 | 20 68 61 76 65 20 74 6f |ines you| have to|
|00002960| 20 25 20 6b 69 6c 6c 20 | 2d 48 55 50 20 6e 6e 22 | % kill |-HUP nn"|
|00002970| 0a 65 63 68 6f 20 22 77 | 68 65 72 65 20 6e 6e 20 |.echo "w|here nn |
|00002980| 69 73 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |is the n|umber of|
|00002990| 20 74 68 65 20 69 6e 65 | 74 64 20 70 72 6f 63 65 | the ine|td proce|
|000029a0| 73 73 2e 22 0a 65 63 68 | 6f 20 22 48 65 72 65 27 |ss.".ech|o "Here'|
|000029b0| 73 20 77 68 61 74 20 70 | 73 20 61 63 75 67 78 20 |s what p|s acugx |
|000029c0| 73 68 6f 77 73 20 61 62 | 6f 75 74 20 69 6e 65 74 |shows ab|out inet|
|000029d0| 64 3a 22 0a 70 73 20 61 | 63 75 67 78 20 7c 20 73 |d:".ps a|cugx | s|
|000029e0| 65 64 20 2d 6e 20 2d 65 | 20 31 70 20 2d 65 20 2f |ed -n -e| 1p -e /|
|000029f0| 69 6e 65 74 64 2f 70 0a | 65 63 68 6f 20 22 49 27 |inetd/p.|echo "I'|
|00002a00| 6c 6c 20 6c 65 61 76 65 | 20 74 68 69 73 20 73 74 |ll leave| this st|
|00002a10| 65 70 20 74 6f 20 79 6f | 75 2e 20 54 68 61 74 27 |ep to yo|u. That'|
|00002a20| 73 20 69 74 21 22 0a 0a | 65 78 69 74 20 30 0a 22 |s it!"..|exit 0."|
|00002a30| 4c 65 74 20 6d 65 20 67 | 6c 61 6e 63 65 20 61 74 |Let me g|lance at|
|00002a40| 20 2f 65 74 63 2f 69 6e | 65 74 64 2e 63 6f 6e 66 | /etc/in|etd.conf|
|00002a50| 20 66 6f 72 20 79 6f 75 | 2e 2e 2e 22 0a 69 66 20 | for you|...".if |
|00002a60| 67 72 65 70 20 27 5e 27 | 22 24 50 4f 52 54 4e 41 |grep '^'|"$PORTNA|
|00002a70| 4d 45 22 27 5b 20 09 5d | 27 20 2f 65 74 63 2f 69 |ME"'[ .]|' /etc/i|
|00002a80| 6e 65 74 64 2e 63 6f 6e | 66 20 3e 2f 64 65 76 2f |netd.con|f >/dev/|
|00002a90| 6e 75 6c 6c 20 32 3e 26 | 31 0a 74 68 65 6e 20 65 |null 2>&|1.then e|
|00002aa0| 63 68 6f 20 22 4f 6b 61 | 79 2c 20 69 74 27 73 20 |cho "Oka|y, it's |
|00002ab0| 61 6c 72 65 61 64 79 20 | 74 68 65 72 65 2e 20 54 |already |there. T|
|00002ac0| 68 61 74 27 73 20 69 74 | 21 22 0a 20 20 20 20 20 |hat's it|!". |
|00002ad0| 65 78 69 74 20 30 0a 66 | 69 0a 69 66 20 67 72 65 |exit 0.f|i.if gre|
|00002ae0| 70 20 27 74 65 6c 6e 65 | 74 2e 2a 72 6f 6f 74 27 |p 'telne|t.*root'|
|00002af0| 20 2f 65 74 63 2f 69 6e | 65 74 64 2e 63 6f 6e 66 | /etc/in|etd.conf|
|00002b00| 20 3e 2f 64 65 76 2f 6e | 75 6c 6c 20 32 3e 26 31 | >/dev/n|ull 2>&1|
|00002b10| 0a 74 68 65 6e 20 65 63 | 68 6f 20 22 49 74 27 73 |.then ec|ho "It's|
|00002b20| 20 6e 6f 74 20 74 68 65 | 72 65 20 79 65 74 2e 20 | not the|re yet. |
|00002b30| 48 6d 6d 6d 2c 20 6c 6f | 6f 6b 73 20 6c 69 6b 65 |Hmmm, lo|oks like|
|00002b40| 20 79 6f 75 20 68 61 76 | 65 20 61 20 53 75 6e 2d | you hav|e a Sun-|
|00002b50| 73 74 79 6c 65 20 69 6e | 65 74 64 2e 22 0a 20 20 |style in|etd.". |
|00002b60| 20 20 20 65 63 68 6f 20 | 22 21 20 65 63 68 6f 20 | echo |"! echo |
|00002b70| 24 50 4f 52 54 4e 41 4d | 45 27 20 73 74 72 65 61 |$PORTNAM|E' strea|
|00002b80| 6d 20 74 63 70 20 6e 6f | 77 61 69 74 20 72 6f 6f |m tcp no|wait roo|
|00002b90| 74 20 27 24 41 55 54 48 | 44 27 20 61 75 74 68 64 |t '$AUTH|D' authd|
|00002ba0| 27 20 3e 3e 20 2f 65 74 | 63 2f 69 6e 65 74 64 2e |' >> /et|c/inetd.|
|00002bb0| 63 6f 6e 66 3a 20 22 20 | 7c 20 74 72 20 2d 64 20 |conf: " || tr -d |
|00002bc0| 27 5c 30 31 32 27 0a 20 | 20 20 20 20 72 65 61 64 |'\012'. | read|
|00002bd0| 20 6c 69 6e 65 0a 20 20 | 20 20 20 65 63 68 6f 20 | line. | echo |
|00002be0| 22 24 50 4f 52 54 4e 41 | 4d 45 22 27 09 73 74 72 |"$PORTNA|ME"'.str|
|00002bf0| 65 61 6d 09 74 63 70 09 | 6e 6f 77 61 69 74 09 72 |eam.tcp.|nowait.r|
|00002c00| 61 75 74 68 64 2f 4d 61 | 6b 65 66 69 6c 65 00 00 |authd/Ma|kefile..|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00002c70| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00002c80| 20 20 20 31 31 32 34 20 | 20 35 32 32 36 37 31 35 | 1124 | 5226715|
|00002c90| 30 33 30 20 20 20 36 36 | 36 36 00 20 00 00 00 00 |030 66|66. ....|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 23 43 46 4c 41 47 53 3d | 2d 44 53 52 31 30 5f 34 |#CFLAGS=|-DSR10_4|
|00002e10| 0a 43 43 3d 63 63 20 24 | 28 43 46 4c 41 47 53 29 |.CC=cc $|(CFLAGS)|
|00002e20| 0a 43 43 4f 50 54 53 3d | 2d 67 0a 0a 64 65 66 61 |.CCOPTS=|-g..defa|
|00002e30| 75 6c 74 3a 20 61 6c 6c | 0a 0a 73 68 61 72 3a 20 |ult: all|..shar: |
|00002e40| 61 75 74 68 64 2e 73 68 | 61 72 0a 0a 61 6c 6c 3a |authd.sh|ar..all:|
|00002e50| 20 61 75 74 68 64 20 74 | 63 70 75 69 64 20 74 63 | authd t|cpuid tc|
|00002e60| 70 75 6e 61 6d 65 20 61 | 75 74 68 75 73 65 72 2e |puname a|uthuser.|
|00002e70| 6f 20 74 65 73 74 0a 0a | 61 75 74 68 64 3a 20 61 |o test..|authd: a|
|00002e80| 75 74 68 64 2e 63 20 4d | 61 6b 65 66 69 6c 65 0a |uthd.c M|akefile.|
|00002e90| 09 24 28 43 43 29 20 24 | 28 43 43 4f 50 54 53 29 |.$(CC) $|(CCOPTS)|
|00002ea0| 20 2d 6f 20 61 75 74 68 | 64 20 61 75 74 68 64 2e | -o auth|d authd.|
|00002eb0| 63 0a 0a 74 63 70 75 69 | 64 3a 20 61 75 74 68 64 |c..tcpui|d: authd|
|00002ec0| 20 4d 61 6b 65 66 69 6c | 65 0a 09 72 6d 20 2d 66 | Makefil|e..rm -f|
|00002ed0| 20 74 63 70 75 69 64 0a | 09 6c 6e 20 61 75 74 68 | tcpuid.|.ln auth|
|00002ee0| 64 20 74 63 70 75 69 64 | 0a 0a 74 63 70 75 6e 61 |d tcpuid|..tcpuna|
|00002ef0| 6d 65 3a 20 61 75 74 68 | 64 20 4d 61 6b 65 66 69 |me: auth|d Makefi|
|00002f00| 6c 65 0a 09 72 6d 20 2d | 66 20 74 63 70 75 6e 61 |le..rm -|f tcpuna|
|00002f10| 6d 65 0a 09 6c 6e 20 61 | 75 74 68 64 20 74 63 70 |me..ln a|uthd tcp|
|00002f20| 75 6e 61 6d 65 0a 0a 61 | 75 74 68 75 73 65 72 2e |uname..a|uthuser.|
|00002f30| 6f 3a 20 61 75 74 68 75 | 73 65 72 2e 63 20 61 75 |o: authu|ser.c au|
|00002f40| 74 68 75 73 65 72 2e 68 | 20 4d 61 6b 65 66 69 6c |thuser.h| Makefil|
|00002f50| 65 0a 09 24 28 43 43 29 | 20 24 28 43 43 4f 50 54 |e..$(CC)| $(CCOPT|
|00002f60| 53 29 20 2d 63 20 61 75 | 74 68 75 73 65 72 2e 63 |S) -c au|thuser.c|
|00002f70| 0a 0a 74 65 73 74 3a 20 | 61 75 74 68 75 73 65 72 |..test: |authuser|
|00002f80| 2e 6f 20 61 75 74 68 75 | 73 65 72 2e 68 20 74 65 |.o authu|ser.h te|
|00002f90| 73 74 2e 63 20 4d 61 6b | 65 66 69 6c 65 0a 09 24 |st.c Mak|efile..$|
|00002fa0| 28 43 43 29 20 24 28 43 | 43 4f 50 54 53 29 20 2d |(CC) $(C|COPTS) -|
|00002fb0| 6f 20 74 65 73 74 20 74 | 65 73 74 2e 63 20 61 75 |o test t|est.c au|
|00002fc0| 74 68 75 73 65 72 2e 6f | 0a 0a 61 75 74 68 64 2e |thuser.o|..authd.|
|00002fd0| 73 68 61 72 3a 20 46 49 | 4c 45 53 0a 09 73 68 61 |shar: FI|LES..sha|
|00002fe0| 72 20 60 63 61 74 20 46 | 49 4c 45 53 60 20 3e 20 |r `cat F|ILES` > |
|00002ff0| 61 75 74 68 64 2e 73 68 | 61 72 0a 09 63 68 6d 6f |authd.sh|ar..chmo|
|00003000| 64 20 34 30 30 20 61 75 | 74 68 64 2e 73 68 61 72 |d 400 au|thd.shar|
|00003010| 0a 0a 69 6e 73 74 61 6c | 6c 3a 0a 09 65 63 68 6f |..instal|l:..echo|
|00003020| 20 27 52 75 6e 20 74 68 | 65 20 49 4e 53 54 41 4c | 'Run th|e INSTAL|
|00003030| 4c 20 73 68 65 6c 6c 20 | 73 63 72 69 70 74 2e 27 |L shell |script.'|
|00003040| 0a 0a 63 6c 65 61 6e 3a | 0a 09 72 6d 20 2d 66 20 |..clean:|..rm -f |
|00003050| 2a 2e 6f 0a 68 64 20 74 | 63 70 75 69 64 20 74 63 |*.o.hd t|cpuid tc|
|00003060| 70 75 6e 61 6d 65 20 61 | 75 74 68 75 73 65 72 2e |puname a|uthuser.|
|00003070| 6f 20 74 65 73 74 0a 0a | 61 75 74 68 64 3a 20 61 |o test..|authd: a|
|00003080| 75 74 68 64 2e 63 20 4d | 61 6b 65 66 69 6c 65 0a |uthd.c M|akefile.|
|00003090| 09 24 28 43 43 29 20 24 | 28 43 43 4f 50 54 53 29 |.$(CC) $|(CCOPTS)|
|000030a0| 20 2d 6f 20 61 75 74 68 | 64 20 61 75 74 68 64 2e | -o auth|d authd.|
|000030b0| 63 0a 0a 74 63 70 75 69 | 64 3a 20 61 75 74 68 64 |c..tcpui|d: authd|
|000030c0| 20 4d 61 6b 65 66 69 6c | 65 0a 09 72 6d 20 2d 66 | Makefil|e..rm -f|
|000030d0| 20 74 63 70 75 69 64 0a | 09 6c 6e 20 61 75 74 68 | tcpuid.|.ln auth|
|000030e0| 64 20 74 63 70 75 69 64 | 0a 0a 74 63 70 75 6e 61 |d tcpuid|..tcpuna|
|000030f0| 6d 65 3a 20 61 75 74 68 | 64 20 4d 61 6b 65 66 69 |me: auth|d Makefi|
|00003100| 6c 65 0a 09 72 6d 20 2d | 66 20 74 63 70 75 6e 61 |le..rm -|f tcpuna|
|00003110| 6d 65 0a 09 6c 6e 20 61 | 75 74 68 64 20 74 63 70 |me..ln a|uthd tcp|
|00003120| 75 6e 61 6d 65 0a 0a 61 | 75 74 68 75 73 65 72 2e |uname..a|uthuser.|
|00003130| 6f 3a 20 61 75 74 68 75 | 73 65 72 2e 63 20 61 75 |o: authu|ser.c au|
|00003140| 74 68 75 73 65 72 2e 68 | 20 4d 61 6b 65 66 69 6c |thuser.h| Makefil|
|00003150| 65 0a 09 24 28 43 43 29 | 20 24 28 43 43 4f 50 54 |e..$(CC)| $(CCOPT|
|00003160| 53 29 20 2d 63 20 61 75 | 74 68 75 73 65 72 2e 63 |S) -c au|thuser.c|
|00003170| 0a 0a 74 65 73 74 3a 20 | 61 75 74 68 75 73 65 72 |..test: |authuser|
|00003180| 2e 6f 20 61 75 74 68 75 | 73 65 72 2e 68 20 74 65 |.o authu|ser.h te|
|00003190| 73 74 2e 63 20 4d 61 6b | 65 66 69 6c 65 0a 09 24 |st.c Mak|efile..$|
|000031a0| 28 43 43 29 20 24 28 43 | 43 4f 50 54 53 29 20 2d |(CC) $(C|COPTS) -|
|000031b0| 6f 20 74 65 73 74 20 74 | 65 73 74 2e 63 20 61 75 |o test t|est.c au|
|000031c0| 74 68 75 73 65 72 2e 6f | 0a 0a 61 75 74 68 64 2e |thuser.o|..authd.|
|000031d0| 73 68 61 72 3a 20 46 49 | 4c 45 53 0a 09 73 68 61 |shar: FI|LES..sha|
|000031e0| 72 20 60 63 61 74 20 46 | 49 4c 45 53 60 20 3e 20 |r `cat F|ILES` > |
|000031f0| 61 75 74 68 64 2e 73 68 | 61 72 0a 09 63 68 6d 6f |authd.sh|ar..chmo|
|00003200| 61 75 74 68 64 2f 52 45 | 41 44 4d 45 00 00 00 00 |authd/RE|ADME....|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00003270| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00003280| 20 20 31 32 32 37 33 20 | 20 35 32 31 37 35 30 30 | 12273 | 5217500|
|00003290| 33 35 33 20 20 20 36 31 | 33 35 00 20 00 00 00 00 |353 61|35. ....|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003400| 61 75 74 68 64 20 2d 20 | 61 75 74 68 65 6e 74 69 |authd - |authenti|
|00003410| 63 61 74 69 6f 6e 20 73 | 65 72 76 65 72 20 64 61 |cation s|erver da|
|00003420| 65 6d 6f 6e 0a 74 63 70 | 75 69 64 2c 20 74 63 70 |emon.tcp|uid, tcp|
|00003430| 75 6e 61 6d 65 20 2d 20 | 66 69 6e 64 20 6f 75 74 |uname - |find out|
|00003440| 20 77 68 69 63 68 20 75 | 73 65 72 20 6f 77 6e 73 | which u|ser owns|
|00003450| 20 61 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 0a 61 75 | a conne|ction.au|
|00003460| 74 68 75 73 65 72 20 2d | 20 72 65 6d 6f 74 65 20 |thuser -| remote |
|00003470| 61 75 74 68 65 6e 74 69 | 63 61 74 69 6f 6e 20 6c |authenti|cation l|
|00003480| 69 62 72 61 72 79 0a 0a | 61 75 74 68 64 20 69 73 |ibrary..|authd is|
|00003490| 20 61 6e 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 | an impl|ementati|
|000034a0| 6f 6e 20 6f 66 20 52 46 | 43 20 39 33 31 2c 20 74 |on of RF|C 931, t|
|000034b0| 68 65 20 41 75 74 68 65 | 6e 74 69 63 61 74 69 6f |he Authe|nticatio|
|000034c0| 6e 20 53 65 72 76 65 72 | 20 75 6e 64 65 72 0a 42 |n Server| under.B|
|000034d0| 53 44 2e 20 52 46 43 20 | 39 33 31 20 70 72 6f 76 |SD. RFC |931 prov|
|000034e0| 69 64 65 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |ides the| name of|
|000034f0| 20 74 68 65 20 75 73 65 | 72 20 6f 77 6e 69 6e 67 | the use|r owning|
|00003500| 20 61 20 54 43 50 20 63 | 6f 6e 6e 65 63 74 69 6f | a TCP c|onnectio|
|00003510| 6e 2e 20 54 68 69 73 0a | 68 65 6c 70 73 20 6e 65 |n. This.|helps ne|
|00003520| 74 77 6f 72 6b 20 73 65 | 63 75 72 69 74 79 3a 20 |twork se|curity: |
|00003530| 75 6e 6c 65 73 73 20 54 | 43 50 20 69 74 73 65 6c |unless T|CP itsel|
|00003540| 66 20 69 73 20 63 6f 6d | 70 72 6f 6d 69 73 65 64 |f is com|promised|
|00003550| 2c 20 69 74 20 69 73 0a | 69 6d 70 6f 73 73 69 62 |, it is.|impossib|
|00003560| 6c 65 20 74 6f 20 66 6f | 72 67 65 20 6d 61 69 6c |le to fo|rge mail|
|00003570| 20 6f 72 20 6e 65 77 73 | 20 62 65 74 77 65 65 6e | or news| between|
|00003580| 20 63 6f 6d 70 75 74 65 | 72 73 20 73 75 70 70 6f | compute|rs suppo|
|00003590| 72 74 69 6e 67 20 52 46 | 43 20 39 33 31 2e 0a 49 |rting RF|C 931..I|
|000035a0| 74 20 61 6c 73 6f 20 62 | 65 63 6f 6d 65 73 20 6d |t also b|ecomes m|
|000035b0| 75 63 68 20 65 61 73 69 | 65 72 20 74 6f 20 74 72 |uch easi|er to tr|
|000035c0| 61 63 65 20 61 74 74 61 | 63 6b 65 72 73 20 74 68 |ace atta|ckers th|
|000035d0| 61 6e 20 69 6e 20 74 68 | 65 20 63 75 72 72 65 6e |an in th|e curren|
|000035e0| 74 2c 0a 6c 61 72 67 65 | 6c 79 20 61 6e 6f 6e 79 |t,.large|ly anony|
|000035f0| 6d 6f 75 73 2c 20 6e 65 | 74 77 6f 72 6b 2e 20 61 |mous, ne|twork. a|
|00003600| 75 74 68 64 20 72 65 71 | 75 69 72 65 73 20 6e 6f |uthd req|uires no|
|00003610| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 63 75 72 72 | changes| to curr|
|00003620| 65 6e 74 20 63 6f 64 65 | 3a 0a 65 76 65 72 79 20 |ent code|:.every |
|00003630| 63 6f 6e 6e 65 63 74 28 | 29 20 61 6e 64 20 61 63 |connect(|) and ac|
|00003640| 63 65 70 74 28 29 20 69 | 73 20 61 75 74 68 65 6e |cept() i|s authen|
|00003650| 74 69 63 61 74 65 64 20 | 61 75 74 6f 6d 61 74 69 |ticated |automati|
|00003660| 63 61 6c 6c 79 2c 20 77 | 69 74 68 20 6e 6f 0a 6c |cally, w|ith no.l|
|00003670| 6f 73 73 20 6f 66 20 65 | 66 66 69 63 69 65 6e 63 |oss of e|fficienc|
|00003680| 79 2e 0a 0a 74 63 70 75 | 69 64 20 61 6e 64 20 74 |y...tcpu|id and t|
|00003690| 63 70 75 6e 61 6d 65 20 | 61 72 65 20 74 68 65 20 |cpuname |are the |
|000036a0| 73 61 6d 65 20 70 72 6f | 67 72 61 6d 2c 20 62 75 |same pro|gram, bu|
|000036b0| 74 20 6d 6f 72 65 20 73 | 75 69 74 61 62 6c 65 20 |t more s|uitable |
|000036c0| 66 6f 72 20 6c 6f 63 61 | 6c 0a 75 73 65 20 66 72 |for loca|l.use fr|
|000036d0| 6f 6d 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |om the c|ommand l|
|000036e0| 69 6e 65 20 62 79 20 61 | 20 75 73 65 72 20 6f 72 |ine by a| user or|
|000036f0| 20 73 79 73 74 65 6d 20 | 61 64 6d 69 6e 69 73 74 | system |administ|
|00003700| 72 61 74 6f 72 2e 20 54 | 68 65 79 20 73 68 6f 77 |rator. T|hey show|
|00003710| 0a 77 68 69 63 68 20 6c | 6f 63 61 6c 20 75 73 65 |.which l|ocal use|
|00003720| 72 20 63 72 65 61 74 65 | 64 20 61 20 67 69 76 65 |r create|d a give|
|00003730| 6e 20 54 43 50 20 63 6f | 6e 6e 65 63 74 69 6f 6e |n TCP co|nnection|
|00003740| 2e 0a 0a 61 75 74 68 75 | 73 65 72 20 69 73 20 61 |...authu|ser is a|
|00003750| 20 6c 69 62 72 61 72 79 | 20 65 6e 63 61 70 73 75 | library| encapsu|
|00003760| 6c 61 74 69 6e 67 20 63 | 6c 69 65 6e 74 20 75 73 |lating c|lient us|
|00003770| 65 20 6f 66 20 52 46 43 | 20 39 33 31 2e 20 49 74 |e of RFC| 931. It|
|00003780| 20 74 61 6c 6b 73 20 74 | 6f 20 61 0a 72 65 6d 6f | talks t|o a.remo|
|00003790| 74 65 20 41 75 74 68 65 | 6e 74 69 63 61 74 69 6f |te Authe|nticatio|
|000037a0| 6e 20 53 65 72 76 65 72 | 20 74 6f 20 66 69 6e 64 |n Server| to find|
|000037b0| 20 6f 75 74 20 74 68 65 | 20 75 73 65 72 6e 61 6d | out the| usernam|
|000037c0| 65 20 6f 6e 20 74 68 65 | 20 6f 74 68 65 72 20 73 |e on the| other s|
|000037d0| 69 64 65 0a 6f 66 20 61 | 20 67 69 76 65 6e 20 63 |ide.of a| given c|
|000037e0| 6f 6e 6e 65 63 74 69 6f | 6e 2e 0a 0a 4f 6e 6c 79 |onnectio|n...Only|
|000037f0| 20 72 6f 6f 74 20 63 61 | 6e 20 69 6e 73 74 61 6c | root ca|n instal|
|00003800| 6c 20 61 75 74 68 64 2e | 20 48 6f 77 65 76 65 72 |l authd.| However|
|00003810| 2c 20 6d 6f 73 74 20 63 | 75 72 72 65 6e 74 20 73 |, most c|urrent s|
|00003820| 79 73 74 65 6d 73 20 61 | 72 65 20 69 6e 73 65 63 |ystems a|re insec|
|00003830| 75 72 65 0a 65 6e 6f 75 | 67 68 20 74 68 61 74 20 |ure.enou|gh that |
|00003840| 61 6e 79 20 75 73 65 72 | 20 63 61 6e 20 72 75 6e |any user| can run|
|00003850| 20 74 63 70 75 69 64 20 | 61 6e 64 20 74 63 70 75 | tcpuid |and tcpu|
|00003860| 6e 61 6d 65 2e 20 61 75 | 74 68 75 73 65 72 20 69 |name. au|thuser i|
|00003870| 73 20 6d 65 61 6e 74 20 | 66 6f 72 0a 75 73 65 20 |s meant |for.use |
|00003880| 62 79 20 61 6e 79 20 70 | 72 6f 67 72 61 6d 2e 0a |by any p|rogram..|
|00003890| 0a 0a 0a 61 75 74 68 64 | 20 76 65 72 73 69 6f 6e |...authd| version|
|000038a0| 20 33 2e 30 31 2c 20 46 | 65 62 72 75 61 72 79 20 | 3.01, F|ebruary |
|000038b0| 37 2c 20 31 39 39 31 2e | 0a 50 6c 61 63 65 64 20 |7, 1991.|.Placed |
|000038c0| 69 6e 74 6f 20 74 68 65 | 20 70 75 62 6c 69 63 20 |into the| public |
|000038d0| 64 6f 6d 61 69 6e 20 62 | 79 20 44 61 6e 69 65 6c |domain b|y Daniel|
|000038e0| 20 4a 2e 20 42 65 72 6e | 73 74 65 69 6e 2e 0a 53 | J. Bern|stein..S|
|000038f0| 6f 6d 65 20 6f 66 20 74 | 68 65 20 63 6f 64 65 20 |ome of t|he code |
|00003900| 69 6e 20 61 75 74 68 64 | 20 77 61 73 20 69 6e 73 |in authd| was ins|
|00003910| 70 69 72 65 64 20 62 79 | 20 63 6f 64 65 20 77 72 |pired by| code wr|
|00003920| 69 74 74 65 6e 20 62 79 | 0a 56 69 63 20 41 62 65 |itten by|.Vic Abe|
|00003930| 6c 6c 2c 20 61 62 65 40 | 6d 61 63 65 2e 63 63 2e |ll, abe@|mace.cc.|
|00003940| 70 75 72 64 75 65 2e 65 | 64 75 2c 20 66 6f 72 20 |purdue.e|du, for |
|00003950| 74 68 65 20 6f 66 69 6c | 65 73 20 70 72 6f 67 72 |the ofil|es progr|
|00003960| 61 6d 2e 0a 0a 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |am....Or|ganizati|
|00003970| 6f 6e 20 6f 66 20 52 45 | 41 44 4d 45 3a 0a 0a 31 |on of RE|ADME:..1|
|00003980| 2e 20 46 69 6c 65 73 0a | 32 2e 20 52 65 71 75 69 |. Files.|2. Requi|
|00003990| 72 65 6d 65 6e 74 73 0a | 33 2e 20 48 6f 77 20 74 |rements.|3. How t|
|000039a0| 6f 20 63 6f 6e 66 69 67 | 75 72 65 20 61 75 74 68 |o config|ure auth|
|000039b0| 64 0a 34 2e 20 48 6f 77 | 20 74 6f 20 63 6f 6d 70 |d.4. How| to comp|
|000039c0| 69 6c 65 20 61 75 74 68 | 64 0a 35 2e 20 48 6f 77 |ile auth|d.5. How|
|000039d0| 20 74 6f 20 69 6e 73 74 | 61 6c 6c 20 61 75 74 68 | to inst|all auth|
|000039e0| 64 0a 36 2e 20 54 4f 44 | 4f 20 6c 69 73 74 0a 0a |d.6. TOD|O list..|
|000039f0| 0a 31 2e 20 46 69 6c 65 | 73 3a 0a 0a 52 45 41 44 |.1. File|s:..READ|
|00003a00| 4d 45 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |ME | this|
|00003a10| 20 66 69 6c 65 0a 46 4f | 52 4d 4c 45 54 54 45 52 | file.FO|RMLETTER|
|00003a20| 20 20 20 20 20 20 66 6f | 72 6d 20 6c 65 74 74 65 | fo|rm lette|
|00003a30| 72 20 74 6f 20 73 65 6e | 64 20 74 6f 20 74 68 65 |r to sen|d to the|
|00003a40| 20 61 75 74 68 6f 72 0a | 46 49 4c 45 53 20 20 20 | author.|FILES |
|00003a50| 20 20 20 20 20 20 20 20 | 66 69 6c 65 20 6c 69 73 | |file lis|
|00003a60| 74 0a 49 4e 53 54 41 4c | 4c 20 20 20 20 20 20 20 |t.INSTAL|L |
|00003a70| 20 20 66 72 69 65 6e 64 | 6c 79 20 69 6e 73 74 61 | friend|ly insta|
|00003a80| 6c 6c 61 74 69 6f 6e 20 | 73 63 72 69 70 74 0a 43 |llation |script.C|
|00003a90| 48 41 4e 47 45 53 20 20 | 20 20 20 20 20 20 20 64 |HANGES | d|
|00003aa0| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 63 68 |escripti|on of ch|
|00003ab0| 61 6e 67 65 73 20 73 69 | 6e 63 65 20 66 69 72 73 |anges si|nce firs|
|00003ac0| 74 20 64 69 73 74 72 69 | 62 75 74 65 64 20 76 65 |t distri|buted ve|
|00003ad0| 72 73 69 6f 6e 0a 4d 61 | 6b 65 66 69 6c 65 20 20 |rsion.Ma|kefile |
|00003ae0| 20 20 20 20 20 20 63 6f | 6d 70 69 6c 61 74 69 6f | co|mpilatio|
|00003af0| 6e 20 63 6f 6d 6d 61 6e | 64 73 0a 61 75 74 68 64 |n comman|ds.authd|
|00003b00| 2e 63 20 20 20 20 20 20 | 20 20 20 74 68 65 20 61 |.c | the a|
|00003b10| 75 74 68 64 20 70 72 6f | 67 72 61 6d 0a 61 75 74 |uthd pro|gram.aut|
|00003b20| 68 75 73 65 72 2e 68 20 | 20 20 20 20 20 74 68 65 |huser.h | the|
|00003b30| 20 61 75 74 68 75 73 65 | 72 20 69 6e 63 6c 75 64 | authuse|r includ|
|00003b40| 65 20 66 69 6c 65 0a 61 | 75 74 68 75 73 65 72 2e |e file.a|uthuser.|
|00003b50| 63 20 20 20 20 20 20 74 | 68 65 20 61 75 74 68 75 |c t|he authu|
|00003b60| 73 65 72 20 6c 69 62 72 | 61 72 79 0a 61 75 74 68 |ser libr|ary.auth|
|00003b70| 64 2e 38 20 20 20 20 20 | 20 20 20 20 64 6f 63 75 |d.8 | docu|
|00003b80| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 61 75 |mentatio|n for au|
|00003b90| 74 68 64 0a 74 63 70 75 | 69 64 2e 38 20 20 20 20 |thd.tcpu|id.8 |
|00003ba0| 20 20 20 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f | docu|mentatio|
|00003bb0| 6e 20 66 6f 72 20 74 63 | 70 75 69 64 0a 74 63 70 |n for tc|puid.tcp|
|00003bc0| 75 6e 61 6d 65 2e 38 20 | 20 20 20 20 20 64 6f 63 |uname.8 | doc|
|00003bd0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|00003be0| 63 70 75 6e 61 6d 65 0a | 61 75 74 68 75 73 65 72 |cpuname.|authuser|
|00003bf0| 2e 33 20 20 20 20 20 20 | 64 6f 63 75 6d 65 6e 74 |.3 |document|
|00003c00| 61 74 69 6f 6e 20 66 6f | 72 20 61 75 74 68 75 73 |ation fo|r authus|
|00003c10| 65 72 0a 74 65 73 74 2e | 63 20 20 20 20 20 20 20 |er.test.|c |
|00003c20| 20 20 20 70 72 6f 67 72 | 61 6d 20 74 6f 20 74 65 | progr|am to te|
|00003c30| 73 74 20 61 75 74 68 75 | 73 65 72 20 61 6e 64 20 |st authu|ser and |
|00003c40| 61 75 74 68 64 0a 6e 65 | 74 73 74 61 74 75 69 64 |authd.ne|tstatuid|
|00003c50| 20 20 20 20 20 20 73 68 | 65 6c 6c 20 73 63 72 69 | sh|ell scri|
|00003c60| 70 74 20 74 6f 20 74 65 | 73 74 20 74 63 70 75 6e |pt to te|st tcpun|
|00003c70| 61 6d 65 0a 72 66 63 39 | 33 31 20 20 20 20 20 20 |ame.rfc9|31 |
|00003c80| 20 20 20 20 52 46 43 20 | 39 33 31 2c 20 41 75 74 | RFC |931, Aut|
|00003c90| 68 65 6e 74 69 63 61 74 | 69 6f 6e 20 53 65 72 76 |henticat|ion Serv|
|00003ca0| 65 72 0a 0a 0a 0a 32 2e | 20 52 65 71 75 69 72 65 |er....2.| Require|
|00003cb0| 6d 65 6e 74 73 0a 0a 61 | 75 74 68 64 20 72 65 71 |ments..a|uthd req|
|00003cc0| 75 69 72 65 73 20 6e 65 | 74 73 74 61 74 2c 20 61 |uires ne|tstat, a|
|00003cd0| 6e 64 20 69 74 20 70 6f | 6b 65 73 20 61 72 6f 75 |nd it po|kes arou|
|00003ce0| 6e 64 20 69 6e 20 73 65 | 76 65 72 61 6c 20 42 53 |nd in se|veral BS|
|00003cf0| 44 2d 73 70 65 63 69 66 | 69 63 0a 6b 65 72 6e 65 |D-specif|ic.kerne|
|00003d00| 6c 20 73 74 72 75 63 74 | 75 72 65 73 2e 20 49 74 |l struct|ures. It|
|00003d10| 20 69 73 20 6e 6f 74 20 | 69 6e 68 65 72 65 6e 74 | is not |inherent|
|00003d20| 6c 79 20 70 6f 72 74 61 | 62 6c 65 20 63 6f 64 65 |ly porta|ble code|
|00003d30| 2e 20 4e 65 76 65 72 74 | 68 65 6c 65 73 73 2c 20 |. Nevert|heless, |
|00003d40| 69 74 0a 68 61 73 20 62 | 65 65 6e 20 63 6f 6d 70 |it.has b|een comp|
|00003d50| 69 6c 65 64 20 75 6e 64 | 65 72 20 55 6c 74 72 69 |iled und|er Ultri|
|00003d60| 78 2c 20 53 75 6e 4f 53 | 2c 20 61 6e 64 20 43 6f |x, SunOS|, and Co|
|00003d70| 6e 76 65 78 20 55 4e 49 | 58 2c 20 61 6e 64 20 69 |nvex UNI|X, and i|
|00003d80| 74 20 70 72 6f 62 61 62 | 6c 79 0a 64 6f 65 73 6e |t probab|ly.doesn|
|00003d90| 27 74 20 74 61 6b 65 20 | 6d 75 63 68 20 77 6f 72 |'t take |much wor|
|00003da0| 6b 20 74 6f 20 67 65 74 | 20 72 75 6e 6e 69 6e 67 |k to get| running|
|00003db0| 20 75 6e 64 65 72 20 70 | 72 65 74 74 79 20 6d 75 | under p|retty mu|
|00003dc0| 63 68 20 61 6e 79 20 42 | 53 44 20 73 79 73 74 65 |ch any B|SD syste|
|00003dd0| 6d 2e 0a 61 75 74 68 75 | 73 65 72 20 73 68 6f 75 |m..authu|ser shou|
|00003de0| 6c 64 20 63 6f 6d 70 69 | 6c 65 20 61 6e 64 20 72 |ld compi|le and r|
|00003df0| 75 6e 20 77 69 74 68 6f | 75 74 20 74 72 6f 75 62 |un witho|ut troub|
|00003e00| 6c 65 20 6f 6e 20 61 6e | 79 20 42 53 44 20 73 79 |le on an|y BSD sy|
|00003e10| 73 74 65 6d 2e 0a 0a 59 | 6f 75 20 6d 75 73 74 20 |stem...Y|ou must |
|00003e20| 62 65 20 72 6f 6f 74 20 | 74 6f 20 69 6e 73 74 61 |be root |to insta|
|00003e30| 6c 6c 20 61 75 74 68 64 | 2e 20 48 6f 77 65 76 65 |ll authd|. Howeve|
|00003e40| 72 2c 20 61 75 74 68 64 | 27 73 20 73 69 73 74 65 |r, authd|'s siste|
|00003e50| 72 20 75 74 69 6c 69 74 | 69 65 73 2c 0a 74 63 70 |r utilit|ies,.tcp|
|00003e60| 75 69 64 20 61 6e 64 20 | 74 63 70 75 6e 61 6d 65 |uid and |tcpuname|
|00003e70| 2c 20 77 69 6c 6c 20 70 | 72 6f 62 61 62 6c 79 20 |, will p|robably |
|00003e80| 77 6f 72 6b 20 61 6e 79 | 77 61 79 20 69 66 20 2f |work any|way if /|
|00003e90| 64 65 76 2f 6b 6d 65 6d | 20 69 73 20 72 65 61 64 |dev/kmem| is read|
|00003ea0| 61 62 6c 65 2e 0a 41 6e | 79 20 70 72 6f 67 72 61 |able..An|y progra|
|00003eb0| 6d 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 61 75 |m can us|e the au|
|00003ec0| 74 68 75 73 65 72 20 6c | 69 62 72 61 72 79 2e 0a |thuser l|ibrary..|
|00003ed0| 0a 61 75 74 68 64 20 61 | 6e 64 20 61 75 74 68 75 |.authd a|nd authu|
|00003ee0| 73 65 72 20 68 61 76 65 | 20 62 65 65 6e 20 72 65 |ser have| been re|
|00003ef0| 70 6f 72 74 65 64 20 74 | 6f 20 77 6f 72 6b 20 6f |ported t|o work o|
|00003f00| 6e 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |n the fo|llowing |
|00003f10| 73 79 73 74 65 6d 73 2e | 0a 0a 20 20 53 75 6e 20 |systems.|.. Sun |
|00003f20| 32 2f 31 37 30 2c 20 53 | 75 6e 4f 53 20 34 2e 30 |2/170, S|unOS 4.0|
|00003f30| 0a 20 20 53 75 6e 20 34 | 2f 32 38 30 2c 20 53 75 |. Sun 4|/280, Su|
|00003f40| 6e 4f 53 20 34 2e 30 2e | 33 0a 20 20 53 75 6e 20 |nOS 4.0.|3. Sun |
|00003f50| 33 2f 31 36 30 2c 20 53 | 75 6e 4f 53 20 34 2e 31 |3/160, S|unOS 4.1|
|00003f60| 0a 20 20 53 75 6e 20 33 | 2f 31 38 30 2c 20 53 75 |. Sun 3|/180, Su|
|00003f70| 6e 4f 53 20 34 2e 31 0a | 20 20 44 45 43 73 79 73 |nOS 4.1.| DECsys|
|00003f80| 74 65 6d 2d 35 38 32 30 | 2c 20 55 6c 74 72 69 78 |tem-5820|, Ultrix|
|00003f90| 20 34 2e 30 0a 20 20 44 | 45 43 53 74 61 74 69 6f | 4.0. D|ECStatio|
|00003fa0| 6e 2d 35 34 30 30 2c 20 | 55 6c 74 72 69 78 20 34 |n-5400, |Ultrix 4|
|00003fb0| 2e 31 0a 20 20 56 41 58 | 20 38 36 35 30 2c 20 55 |.1. VAX| 8650, U|
|00003fc0| 6c 74 72 69 78 20 34 2e | 31 0a 20 20 56 41 58 20 |ltrix 4.|1. VAX |
|00003fd0| 28 3f 29 2c 20 42 53 44 | 20 34 2e 33 0a 20 20 43 |(?), BSD| 4.3. C|
|00003fe0| 6f 6e 76 65 78 20 43 32 | 31 30 2c 20 43 6f 6e 76 |onvex C2|10, Conv|
|00003ff0| 65 78 20 55 4e 49 58 20 | 38 2e 30 0a 20 20 20 20 |ex UNIX |8.0. |
|00004000| 6e 6f 20 6b 6d 65 6d 20 | 67 72 6f 75 70 2d 2d 2d |no kmem |group---|
|00004010| 61 75 74 68 64 2f 74 63 | 70 75 69 64 2f 74 63 70 |authd/tc|puid/tcp|
|00004020| 75 6e 61 6d 65 20 6f 6e | 6c 79 20 77 6f 72 6b 20 |uname on|ly work |
|00004030| 61 73 20 72 6f 6f 74 0a | 0a 49 66 20 79 6f 75 72 |as root.|.If your|
|00004040| 20 6d 61 63 68 69 6e 65 | 20 69 73 6e 27 74 20 69 | machine| isn't i|
|00004050| 6e 20 74 68 69 73 20 6c | 69 73 74 2c 20 61 6e 64 |n this l|ist, and|
|00004060| 20 79 6f 75 20 67 65 74 | 20 74 68 65 20 70 72 6f | you get| the pro|
|00004070| 67 72 61 6d 73 20 77 6f | 72 6b 69 6e 67 2c 0a 2a |grams wo|rking,.*|
|00004080| 70 6c 65 61 73 65 2a 20 | 73 65 6e 64 20 61 20 6e |please* |send a n|
|00004090| 6f 74 65 20 74 6f 20 6d | 65 20 61 74 20 62 72 6e |ote to m|e at brn|
|000040a0| 73 74 6e 64 40 6e 79 75 | 2e 65 64 75 20 6f 6e 20 |stnd@nyu|.edu on |
|000040b0| 74 68 65 20 49 6e 74 65 | 72 6e 65 74 20 64 65 73 |the Inte|rnet des|
|000040c0| 63 72 69 62 69 6e 67 0a | 77 68 61 74 20 79 6f 75 |cribing.|what you|
|000040d0| 20 68 61 64 20 74 6f 20 | 64 6f 20 74 6f 20 6d 61 | had to |do to ma|
|000040e0| 6b 65 20 74 68 65 20 70 | 72 6f 67 72 61 6d 73 20 |ke the p|rograms |
|000040f0| 63 6f 6d 70 69 6c 65 2e | 20 28 4f 66 20 63 6f 75 |compile.| (Of cou|
|00004100| 72 73 65 2c 20 70 6c 65 | 61 73 65 20 61 6c 73 6f |rse, ple|ase also|
|00004110| 0a 6c 65 74 20 6d 65 20 | 6b 6e 6f 77 20 69 66 20 |.let me |know if |
|00004120| 79 6f 75 20 68 61 76 65 | 20 74 72 6f 75 62 6c 65 |you have| trouble|
|00004130| 2c 20 6f 72 20 69 66 20 | 79 6f 75 20 68 61 76 65 |, or if |you have|
|00004140| 20 63 6f 6d 6d 65 6e 74 | 73 2c 20 71 75 65 73 74 | comment|s, quest|
|00004150| 69 6f 6e 73 2c 20 6f 72 | 0a 73 75 67 67 65 73 74 |ions, or|.suggest|
|00004160| 69 6f 6e 73 2e 29 20 49 | 27 64 20 72 61 74 68 65 |ions.) I|'d rathe|
|00004170| 72 20 62 65 20 66 6c 6f | 6f 64 65 64 20 77 69 74 |r be flo|oded wit|
|00004180| 68 20 72 65 70 6f 72 74 | 73 20 61 6e 64 20 62 65 |h report|s and be|
|00004190| 20 61 62 6c 65 20 74 6f | 20 63 6f 6d 70 69 6c 65 | able to| compile|
|000041a0| 0a 61 20 6d 6f 72 65 20 | 63 6f 6d 70 72 65 68 65 |.a more |comprehe|
|000041b0| 6e 73 69 76 65 20 6c 69 | 73 74 20 74 68 61 6e 20 |nsive li|st than |
|000041c0| 68 61 76 65 20 6e 6f 20 | 66 65 65 64 62 61 63 6b |have no |feedback|
|000041d0| 20 62 65 63 61 75 73 65 | 20 65 76 65 72 79 6f 6e | because| everyon|
|000041e0| 65 20 61 73 73 75 6d 65 | 73 0a 73 6f 6d 65 6f 6e |e assume|s.someon|
|000041f0| 65 20 65 6c 73 65 20 68 | 61 73 20 74 61 6c 6b 65 |e else h|as talke|
|00004200| 64 20 74 6f 20 6d 65 20 | 66 69 72 73 74 2e 20 55 |d to me |first. U|
|00004210| 73 65 20 46 4f 52 4d 4c | 45 54 54 45 52 20 69 66 |se FORML|ETTER if|
|00004220| 20 79 6f 75 20 77 61 6e | 74 2e 20 54 68 61 6e 6b | you wan|t. Thank|
|00004230| 73 0a 66 6f 72 20 62 65 | 69 6e 67 20 61 20 67 6f |s.for be|ing a go|
|00004240| 6f 64 20 73 70 6f 72 74 | 2e 0a 0a 0a 0a 33 2e 20 |od sport|.....3. |
|00004250| 48 6f 77 20 74 6f 20 63 | 6f 6e 66 69 67 75 72 65 |How to c|onfigure|
|00004260| 20 61 75 74 68 64 0a 0a | 45 69 74 68 65 72 20 61 | authd..|Either a|
|00004270| 75 74 68 64 2e 63 20 68 | 61 73 20 74 68 65 20 72 |uthd.c h|as the r|
|00004280| 69 67 68 74 20 6d 61 67 | 69 63 20 74 6f 20 63 6f |ight mag|ic to co|
|00004290| 6d 70 69 6c 65 20 61 6e | 64 20 72 75 6e 20 6f 6e |mpile an|d run on|
|000042a0| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 2c 20 6f 72 | your sy|stem, or|
|000042b0| 0a 69 74 20 64 6f 65 73 | 6e 27 74 2e 20 49 6e 20 |.it does|n't. In |
|000042c0| 74 68 65 20 66 69 72 73 | 74 20 63 61 73 65 20 79 |the firs|t case y|
|000042d0| 6f 75 20 64 6f 6e 27 74 | 20 68 61 76 65 20 74 6f |ou don't| have to|
|000042e0| 20 63 6f 6e 66 69 67 75 | 72 65 20 61 6e 79 74 68 | configu|re anyth|
|000042f0| 69 6e 67 2c 20 61 6e 64 | 0a 69 6e 20 74 68 65 20 |ing, and|.in the |
|00004300| 73 65 63 6f 6e 64 20 63 | 61 73 65 20 61 75 74 6f |second c|ase auto|
|00004310| 6d 61 74 69 63 20 63 6f | 6e 66 69 67 75 72 61 74 |matic co|nfigurat|
|00004320| 69 6f 6e 20 77 6f 75 6c | 64 20 62 65 20 70 72 65 |ion woul|d be pre|
|00004330| 74 74 79 20 6d 75 63 68 | 0a 68 6f 70 65 6c 65 73 |tty much|.hopeles|
|00004340| 73 2e 20 28 49 66 20 61 | 75 74 68 64 20 64 6f 65 |s. (If a|uthd doe|
|00004350| 73 6e 27 74 20 63 6f 6d | 70 69 6c 65 2c 20 79 6f |sn't com|pile, yo|
|00004360| 75 20 6d 69 67 68 74 20 | 74 72 79 20 73 65 6e 64 |u might |try send|
|00004370| 69 6e 67 20 6d 65 20 74 | 68 65 0a 63 6f 6d 70 69 |ing me t|he.compi|
|00004380| 6c 65 72 20 6f 75 74 70 | 75 74 20 74 6f 20 73 65 |ler outp|ut to se|
|00004390| 65 20 69 66 20 49 20 63 | 61 6e 20 66 69 67 75 72 |e if I c|an figur|
|000043a0| 65 20 6f 75 74 20 68 6f | 77 20 74 6f 20 6d 61 6b |e out ho|w to mak|
|000043b0| 65 20 69 74 20 77 6f 72 | 6b 20 6f 6e 20 79 6f 75 |e it wor|k on you|
|000043c0| 72 0a 6d 61 63 68 69 6e | 65 2e 29 20 54 68 65 20 |r.machin|e.) The |
|000043d0| 61 75 74 68 75 73 65 72 | 20 6c 69 62 72 61 72 79 |authuser| library|
|000043e0| 20 73 68 6f 75 6c 64 20 | 63 6f 6d 70 69 6c 65 20 | should |compile |
|000043f0| 77 69 74 68 6f 75 74 20 | 74 72 6f 75 62 6c 65 20 |without |trouble |
|00004400| 69 6e 20 61 6e 79 0a 63 | 61 73 65 2e 0a 0a 59 6f |in any.c|ase...Yo|
|00004410| 75 20 63 61 6e 20 63 68 | 61 6e 67 65 20 43 43 20 |u can ch|ange CC |
|00004420| 6f 72 20 43 43 4f 50 54 | 53 20 69 6e 20 4d 61 6b |or CCOPT|S in Mak|
|00004430| 65 66 69 6c 65 20 69 66 | 20 79 6f 75 20 77 61 6e |efile if| you wan|
|00004440| 74 2e 20 49 66 20 79 6f | 75 20 77 61 6e 74 20 61 |t. If yo|u want a|
|00004450| 75 74 68 64 0a 74 6f 20 | 72 65 63 6f 72 64 20 63 |uthd.to |record c|
|00004460| 6f 6e 6e 65 63 74 69 6f | 6e 73 20 74 68 72 6f 75 |onnectio|ns throu|
|00004470| 67 68 20 73 79 73 6c 6f | 67 20 61 74 20 4c 4f 47 |gh syslo|g at LOG|
|00004480| 5f 44 45 42 55 47 2c 20 | 64 65 66 69 6e 65 20 2d |_DEBUG, |define -|
|00004490| 44 55 53 45 5f 53 59 53 | 4c 4f 47 0a 69 6e 20 74 |DUSE_SYS|LOG.in t|
|000044a0| 68 65 20 4d 61 6b 65 66 | 69 6c 65 2e 0a 0a 0a 0a |he Makef|ile.....|
|000044b0| 34 2e 20 48 6f 77 20 74 | 6f 20 63 6f 6d 70 69 6c |4. How t|o compil|
|000044c0| 65 20 61 75 74 68 64 0a | 0a 4a 75 73 74 20 6d 61 |e authd.|.Just ma|
|000044d0| 6b 65 2e 20 54 68 69 73 | 20 77 69 6c 6c 20 63 72 |ke. This| will cr|
|000044e0| 65 61 74 65 20 61 75 74 | 68 64 2c 20 74 63 70 75 |eate aut|hd, tcpu|
|000044f0| 69 64 2c 20 74 63 70 75 | 6e 61 6d 65 2c 20 61 75 |id, tcpu|name, au|
|00004500| 74 68 75 73 65 72 2e 6f | 2c 20 61 6e 64 0a 74 65 |thuser.o|, and.te|
|00004510| 73 74 2e 0a 0a 0a 0a 35 | 2e 20 48 6f 77 20 74 6f |st.....5|. How to|
|00004520| 20 69 6e 73 74 61 6c 6c | 20 61 75 74 68 64 0a 0a | install| authd..|
|00004530| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 20 68 61 76 |If you d|on't hav|
|00004540| 65 20 70 72 69 76 69 6c | 65 67 65 73 2c 20 73 6b |e privil|eges, sk|
|00004550| 69 70 20 74 68 69 73 20 | 70 61 72 74 2e 0a 0a 42 |ip this |part...B|
|00004560| 79 20 64 65 66 61 75 6c | 74 2c 20 61 75 74 68 64 |y defaul|t, authd|
|00004570| 2c 20 74 63 70 75 69 64 | 2c 20 61 6e 64 20 74 63 |, tcpuid|, and tc|
|00004580| 70 75 6e 61 6d 65 20 61 | 72 65 20 69 6e 73 74 61 |puname a|re insta|
|00004590| 6c 6c 65 64 20 69 6e 20 | 2f 65 74 63 2c 0a 61 75 |lled in |/etc,.au|
|000045a0| 74 68 75 73 65 72 2e 6f | 20 69 73 20 69 6e 73 74 |thuser.o| is inst|
|000045b0| 61 6c 6c 65 64 20 61 73 | 20 2f 75 73 72 2f 6c 69 |alled as| /usr/li|
|000045c0| 62 2f 6c 69 62 61 75 74 | 68 75 73 65 72 2e 61 2c |b/libaut|huser.a,|
|000045d0| 20 61 75 74 68 75 73 65 | 72 2e 68 20 69 73 0a 69 | authuse|r.h is.i|
|000045e0| 6e 73 74 61 6c 6c 65 64 | 20 69 6e 20 2f 75 73 72 |nstalled| in /usr|
|000045f0| 2f 69 6e 63 6c 75 64 65 | 2c 20 61 75 74 68 75 73 |/include|, authus|
|00004600| 65 72 2e 33 20 69 73 20 | 69 6e 73 74 61 6c 6c 65 |er.3 is |installe|
|00004610| 64 20 69 6e 20 2f 75 73 | 72 2f 6d 61 6e 2f 6d 61 |d in /us|r/man/ma|
|00004620| 6e 33 2c 0a 61 6e 64 20 | 61 75 74 68 64 2e 38 2c |n3,.and |authd.8,|
|00004630| 20 74 63 70 75 69 64 2e | 38 2c 20 61 6e 64 20 74 | tcpuid.|8, and t|
|00004640| 63 70 75 6e 61 6d 65 2e | 38 20 61 72 65 20 69 6e |cpuname.|8 are in|
|00004650| 73 74 61 6c 6c 65 64 20 | 69 6e 20 2f 75 73 72 2f |stalled |in /usr/|
|00004660| 6d 61 6e 2f 6d 61 6e 38 | 2e 0a 54 68 65 20 62 69 |man/man8|..The bi|
|00004670| 6e 61 72 69 65 73 20 61 | 72 65 20 69 6e 73 74 61 |naries a|re insta|
|00004680| 6c 6c 65 64 20 73 65 74 | 67 69 64 20 74 6f 20 67 |lled set|gid to g|
|00004690| 72 6f 75 70 20 6b 6d 65 | 6d 2e 20 49 66 20 79 6f |roup kme|m. If yo|
|000046a0| 75 20 77 61 6e 74 20 74 | 6f 20 63 68 61 6e 67 65 |u want t|o change|
|000046b0| 0a 74 68 65 73 65 20 64 | 65 66 61 75 6c 74 73 2c |.these d|efaults,|
|000046c0| 20 65 64 69 74 20 49 4e | 53 54 41 4c 4c 2e 0a 0a | edit IN|STALL...|
|000046d0| 54 68 65 6e 20 72 75 6e | 20 49 4e 53 54 41 4c 4c |Then run| INSTALL|
|000046e0| 20 69 6e 20 61 20 72 6f | 6f 74 20 73 68 65 6c 6c | in a ro|ot shell|
|000046f0| 3b 20 74 68 65 20 73 63 | 72 69 70 74 20 77 69 6c |; the sc|ript wil|
|00004700| 6c 20 63 68 65 63 6b 20 | 65 76 65 72 79 20 61 63 |l check |every ac|
|00004710| 74 69 6f 6e 0a 77 69 74 | 68 20 79 6f 75 20 62 65 |tion.wit|h you be|
|00004720| 66 6f 72 65 20 64 6f 69 | 6e 67 20 69 74 2e 0a 0a |fore doi|ng it...|
|00004730| 54 6f 20 74 65 73 74 20 | 74 63 70 75 6e 61 6d 65 |To test |tcpuname|
|00004740| 2c 20 6d 61 6b 65 20 73 | 75 72 65 20 69 74 20 69 |, make s|ure it i|
|00004750| 73 20 69 6e 20 79 6f 75 | 72 20 70 61 74 68 2c 20 |s in you|r path, |
|00004760| 61 6e 64 20 72 75 6e 20 | 6e 65 74 73 74 61 74 75 |and run |netstatu|
|00004770| 69 64 2e 20 59 6f 75 0a | 73 68 6f 75 6c 64 20 67 |id. You.|should g|
|00004780| 65 74 20 61 20 72 65 70 | 6f 72 74 20 6f 66 20 61 |et a rep|ort of a|
|00004790| 6c 6c 20 61 63 74 69 76 | 65 20 6e 65 74 77 6f 72 |ll activ|e networ|
|000047a0| 6b 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 20 69 6e |k connec|tions in|
|000047b0| 63 6c 75 64 69 6e 67 0a | 75 73 65 72 6e 61 6d 65 |cluding.|username|
|000047c0| 73 2e 0a 0a 54 6f 20 74 | 65 73 74 20 61 75 74 68 |s...To t|est auth|
|000047d0| 75 73 65 72 20 61 6e 64 | 20 61 75 74 68 64 2c 20 |user and| authd, |
|000047e0| 72 75 6e 20 2e 2f 74 65 | 73 74 2e 20 59 6f 75 20 |run ./te|st. You |
|000047f0| 73 68 6f 75 6c 64 20 67 | 65 74 20 61 6e 20 60 60 |should g|et an ``|
|00004800| 65 76 65 72 79 74 68 69 | 6e 67 0a 6c 6f 6f 6b 73 |everythi|ng.looks|
|00004810| 20 6f 6b 61 79 27 27 20 | 6d 65 73 73 61 67 65 2e | okay'' |message.|
|00004820| 0a 0a 0a 0a 36 2e 20 54 | 4f 44 4f 20 6c 69 73 74 |....6. T|ODO list|
|00004830| 0a 0a 66 61 73 74 20 6d | 75 6c 74 69 70 6c 65 2d |..fast m|ultiple-|
|00004840| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 76 65 72 73 69 |connecti|on versi|
|00004850| 6f 6e 20 6f 66 20 74 63 | 70 75 69 64 2f 74 63 70 |on of tc|puid/tcp|
|00004860| 75 6e 61 6d 65 2c 20 6c | 69 6b 65 20 6e 65 74 73 |uname, l|ike nets|
|00004870| 74 61 74 75 69 64 3f 0a | 73 68 6f 75 6c 64 20 77 |tatuid?.|should w|
|00004880| 72 69 74 65 20 61 20 66 | 65 77 20 6e 6f 74 65 73 |rite a f|ew notes|
|00004890| 20 6f 6e 20 74 68 65 20 | 65 78 61 63 74 20 73 65 | on the |exact se|
|000048a0| 63 75 72 69 74 79 20 70 | 72 6f 76 69 64 65 64 20 |curity p|rovided |
|000048b0| 62 79 20 72 66 63 20 39 | 33 31 0a 6f 6d 70 69 6c |by rfc 9|31.ompil|
|000048c0| 65 20 61 75 74 68 64 0a | 0a 4a 75 73 74 20 6d 61 |e authd.|.Just ma|
|000048d0| 6b 65 2e 20 54 68 69 73 | 20 77 69 6c 6c 20 63 72 |ke. This| will cr|
|000048e0| 65 61 74 65 20 61 75 74 | 68 64 2c 20 74 63 70 75 |eate aut|hd, tcpu|
|000048f0| 69 64 2c 20 74 63 70 75 | 6e 61 6d 65 2c 20 61 75 |id, tcpu|name, au|
|00004900| 74 68 75 73 65 72 2e 6f | 2c 20 61 6e 64 0a 74 65 |thuser.o|, and.te|
|00004910| 73 74 2e 0a 0a 0a 0a 35 | 2e 20 48 6f 77 20 74 6f |st.....5|. How to|
|00004920| 20 69 6e 73 74 61 6c 6c | 20 61 75 74 68 64 0a 0a | install| authd..|
|00004930| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 20 68 61 76 |If you d|on't hav|
|00004940| 65 20 70 72 69 76 69 6c | 65 67 65 73 2c 20 73 6b |e privil|eges, sk|
|00004950| 69 70 20 74 68 69 73 20 | 70 61 72 74 2e 0a 0a 42 |ip this |part...B|
|00004960| 79 20 64 65 66 61 75 6c | 74 2c 20 61 75 74 68 64 |y defaul|t, authd|
|00004970| 2c 20 74 63 70 75 69 64 | 2c 20 61 6e 64 20 74 63 |, tcpuid|, and tc|
|00004980| 70 75 6e 61 6d 65 20 61 | 72 65 20 69 6e 73 74 61 |puname a|re insta|
|00004990| 6c 6c 65 64 20 69 6e 20 | 2f 65 74 63 2c 0a 61 75 |lled in |/etc,.au|
|000049a0| 74 68 75 73 65 72 2e 6f | 20 69 73 20 69 6e 73 74 |thuser.o| is inst|
|000049b0| 61 6c 6c 65 64 20 61 73 | 20 2f 75 73 72 2f 6c 69 |alled as| /usr/li|
|000049c0| 62 2f 6c 69 62 61 75 74 | 68 75 73 65 72 2e 61 2c |b/libaut|huser.a,|
|000049d0| 20 61 75 74 68 75 73 65 | 72 2e 68 20 69 73 0a 69 | authuse|r.h is.i|
|000049e0| 6e 73 74 61 6c 6c 65 64 | 20 69 6e 20 2f 75 73 72 |nstalled| in /usr|
|000049f0| 2f 69 6e 63 6c 75 64 65 | 2c 20 61 75 74 68 75 73 |/include|, authus|
|00004a00| 61 75 74 68 64 2f 52 45 | 41 44 4d 45 2e 41 70 6f |authd/RE|ADME.Apo|
|00004a10| 6c 6c 6f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |llo.....|........|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00004a70| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00004a80| 20 20 20 32 32 36 30 20 | 20 35 32 32 36 37 31 34 | 2260 | 5226714|
|00004a90| 37 36 30 20 20 20 37 33 | 34 36 00 20 00 00 00 00 |760 73|46. ....|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 54 68 69 73 20 69 73 20 | 74 68 65 20 41 70 6f 6c |This is |the Apol|
|00004c10| 6c 6f 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 61 75 |lo versi|on of au|
|00004c20| 74 68 64 2e 20 49 20 68 | 61 76 65 20 74 65 73 74 |thd. I h|ave test|
|00004c30| 65 64 20 69 74 20 6f 6e | 20 73 72 31 30 2e 32 2c |ed it on| sr10.2,|
|00004c40| 20 62 75 74 0a 74 68 65 | 72 65 20 61 72 65 20 6e | but.the|re are n|
|00004c50| 6f 20 67 75 61 72 61 6e | 74 65 65 73 20 69 74 20 |o guaran|tees it |
|00004c60| 77 69 6c 6c 20 77 6f 72 | 6b 20 75 6e 6d 6f 64 69 |will wor|k unmodi|
|00004c70| 66 69 65 64 20 6f 6e 20 | 6f 74 68 65 72 20 72 65 |fied on |other re|
|00004c80| 76 69 73 69 6f 6e 73 2e | 0a 49 74 20 73 68 6f 75 |visions.|.It shou|
|00004c90| 6c 64 20 77 6f 72 6b 20 | 6f 6e 20 73 72 31 30 2e |ld work |on sr10.|
|00004ca0| 34 20 69 66 20 79 6f 75 | 20 75 6e 63 6f 6d 6d 65 |4 if you| uncomme|
|00004cb0| 6e 74 20 74 68 65 20 43 | 46 4c 41 47 53 20 61 74 |nt the C|FLAGS at|
|00004cc0| 20 74 68 65 20 73 74 61 | 72 74 0a 6f 66 20 74 68 | the sta|rt.of th|
|00004cd0| 65 20 4d 61 6b 65 66 69 | 6c 65 2e 0a 0a 49 66 20 |e Makefi|le...If |
|00004ce0| 79 6f 75 20 68 61 76 65 | 20 74 72 6f 75 62 6c 65 |you have| trouble|
|00004cf0| 2c 20 74 72 79 20 70 72 | 69 6e 74 69 6e 67 20 6f |, try pr|inting o|
|00004d00| 75 74 20 74 68 65 20 61 | 72 65 61 73 20 6f 66 20 |ut the a|reas of |
|00004d10| 6d 65 6d 6f 72 79 20 69 | 6e 64 69 63 61 74 65 64 |memory i|ndicated|
|00004d20| 0a 62 79 20 74 68 65 20 | 50 43 42 20 61 6e 64 20 |.by the |PCB and |
|00004d30| 55 43 42 2e 20 59 6f 75 | 20 63 61 6e 20 75 73 65 |UCB. You| can use|
|00004d40| 20 64 74 63 62 20 74 6f | 20 67 65 74 20 74 68 65 | dtcb to| get the|
|00004d50| 73 65 2c 20 61 6e 64 20 | 79 6f 75 20 63 61 6e 20 |se, and |you can |
|00004d60| 61 6c 73 6f 0a 72 65 61 | 64 20 74 68 65 6d 20 64 |also.rea|d them d|
|00004d70| 69 72 65 63 74 6c 79 20 | 28 74 68 65 79 20 61 72 |irectly |(they ar|
|00004d80| 65 20 69 6e 20 67 6c 6f | 62 61 6c 6c 79 20 72 65 |e in glo|bally re|
|00004d90| 61 64 61 62 6c 65 20 6d | 65 6d 6f 72 79 29 2e 0a |adable m|emory)..|
|00004da0| 0a 54 68 65 20 41 70 6f | 6c 6c 6f 20 61 75 74 68 |.The Apo|llo auth|
|00004db0| 64 20 69 73 20 62 61 73 | 65 64 20 6f 6e 20 44 61 |d is bas|ed on Da|
|00004dc0| 6e 20 42 65 72 6e 73 74 | 65 69 6e 27 73 20 61 75 |n Bernst|ein's au|
|00004dd0| 74 68 64 20 33 2e 30 31 | 2e 20 49 6e 74 65 72 6e |thd 3.01|. Intern|
|00004de0| 61 6c 6c 79 2c 0a 69 74 | 20 73 69 6d 69 6c 61 72 |ally,.it| similar|
|00004df0| 69 74 69 65 73 20 61 72 | 65 20 6c 69 6d 69 74 65 |ities ar|e limite|
|00004e00| 64 20 74 6f 20 74 68 65 | 20 66 61 63 74 20 74 68 |d to the| fact th|
|00004e10| 61 74 20 69 74 20 73 74 | 69 6c 6c 20 75 73 65 73 |at it st|ill uses|
|00004e20| 20 6e 65 74 73 74 61 74 | 20 74 6f 0a 67 65 74 20 | netstat| to.get |
|00004e30| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 77 |informat|ion on w|
|00004e40| 68 65 72 65 20 74 68 65 | 20 50 43 42 20 69 73 20 |here the| PCB is |
|00004e50| 69 6e 20 6d 65 6d 6f 72 | 79 2e 20 41 66 74 65 72 |in memor|y. After|
|00004e60| 20 74 68 61 74 2c 20 74 | 68 65 20 74 77 6f 0a 62 | that, t|he two.b|
|00004e70| 65 61 72 20 6e 6f 20 72 | 65 73 65 6d 62 6c 61 6e |ear no r|esemblan|
|00004e80| 63 65 2e 20 54 68 65 20 | 41 70 6f 6c 6c 6f 20 76 |ce. The |Apollo v|
|00004e90| 65 72 73 69 6f 6e 20 6c | 6f 6f 6b 73 20 75 70 20 |ersion l|ooks up |
|00004ea0| 74 68 65 20 50 43 42 20 | 69 6e 20 74 68 65 20 67 |the PCB |in the g|
|00004eb0| 6c 6f 62 61 6c 6c 79 0a | 72 65 61 64 61 62 6c 65 |lobally.|readable|
|00004ec0| 20 73 65 63 74 69 6f 6e | 2c 20 75 73 65 73 20 74 | section|, uses t|
|00004ed0| 68 69 73 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |his to f|ind the |
|00004ee0| 55 43 42 2c 20 61 6e 64 | 20 6c 6f 6f 6b 73 20 75 |UCB, and| looks u|
|00004ef0| 70 20 74 68 65 20 70 72 | 6f 63 65 73 73 0a 49 44 |p the pr|ocess.ID|
|00004f00| 20 69 6e 20 74 68 69 73 | 20 73 74 72 75 63 74 75 | in this| structu|
|00004f10| 72 65 2e 20 54 68 65 20 | 75 73 65 72 20 6e 61 6d |re. The |user nam|
|00004f20| 65 20 69 73 20 74 68 65 | 6e 20 66 6f 75 6e 64 20 |e is the|n found |
|00004f30| 77 69 74 68 20 61 20 73 | 65 72 69 65 73 20 6f 66 |with a s|eries of|
|00004f40| 0a 73 79 73 74 65 6d 20 | 63 61 6c 6c 73 2e 0a 0a |.system |calls...|
|00004f50| 49 66 20 61 6e 79 62 6f | 64 79 20 68 61 73 20 69 |If anybo|dy has i|
|00004f60| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 20 68 6f |nformati|on on ho|
|00004f70| 77 20 74 6f 20 66 69 6e | 64 20 74 68 65 20 73 74 |w to fin|d the st|
|00004f80| 61 72 74 20 6f 66 20 74 | 68 65 20 50 43 42 20 63 |art of t|he PCB c|
|00004f90| 68 61 69 6e 0a 77 69 74 | 68 6f 75 74 20 65 78 65 |hain.wit|hout exe|
|00004fa0| 63 69 6e 67 20 6e 65 74 | 73 74 61 74 2c 20 74 68 |cing net|stat, th|
|00004fb0| 65 6e 20 74 68 69 73 20 | 69 6d 70 6c 69 6d 65 6e |en this |implimen|
|00004fc0| 74 61 74 69 6f 6e 20 63 | 61 6e 20 62 65 20 69 6d |tation c|an be im|
|00004fd0| 70 72 6f 76 65 64 2e 0a | 49 20 77 6f 75 6c 64 20 |proved..|I would |
|00004fe0| 62 65 20 69 6e 74 65 72 | 65 73 74 65 64 20 69 6e |be inter|ested in|
|00004ff0| 20 68 65 61 72 69 6e 67 | 20 61 62 6f 75 74 20 69 | hearing| about i|
|00005000| 74 2e 20 20 41 6c 73 6f | 2c 20 74 68 69 73 20 69 |t. Also|, this i|
|00005010| 6d 70 6c 69 6d 65 6e 74 | 61 74 69 6f 6e 0a 72 65 |mpliment|ation.re|
|00005020| 74 75 72 6e 73 20 74 68 | 65 20 75 73 65 72 20 6e |turns th|e user n|
|00005030| 61 6d 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |ame corr|espondin|
|00005040| 67 20 74 6f 20 74 68 65 | 20 65 66 66 65 63 74 69 |g to the| effecti|
|00005050| 76 65 20 55 49 44 2c 20 | 77 68 65 72 65 61 73 20 |ve UID, |whereas |
|00005060| 74 68 65 0a 72 65 61 6c | 20 55 49 44 20 77 6f 75 |the.real| UID wou|
|00005070| 6c 64 20 70 72 6f 62 61 | 62 6c 79 20 62 65 20 6d |ld proba|bly be m|
|00005080| 6f 72 65 20 75 73 65 66 | 75 6c 2e 0a 0a 09 54 72 |ore usef|ul....Tr|
|00005090| 6f 79 20 52 6f 6c 6c 6f | 0a 09 74 72 6f 79 40 63 |oy Rollo|..troy@c|
|000050a0| 62 6d 65 2e 75 6e 73 77 | 2e 45 44 55 2e 41 55 0a |bme.unsw|.EDU.AU.|
|000050b0| 6e 74 20 74 68 65 20 43 | 46 4c 41 47 53 20 61 74 |nt the C|FLAGS at|
|000050c0| 20 74 68 65 20 73 74 61 | 72 74 0a 6f 66 20 74 68 | the sta|rt.of th|
|000050d0| 65 20 4d 61 6b 65 66 69 | 6c 65 2e 0a 0a 49 66 20 |e Makefi|le...If |
|000050e0| 79 6f 75 20 68 61 76 65 | 20 74 72 6f 75 62 6c 65 |you have| trouble|
|000050f0| 2c 20 74 72 79 20 70 72 | 69 6e 74 69 6e 67 20 6f |, try pr|inting o|
|00005100| 75 74 20 74 68 65 20 61 | 72 65 61 73 20 6f 66 20 |ut the a|reas of |
|00005110| 6d 65 6d 6f 72 79 20 69 | 6e 64 69 63 61 74 65 64 |memory i|ndicated|
|00005120| 0a 62 79 20 74 68 65 20 | 50 43 42 20 61 6e 64 20 |.by the |PCB and |
|00005130| 55 43 42 2e 20 59 6f 75 | 20 63 61 6e 20 75 73 65 |UCB. You| can use|
|00005140| 20 64 74 63 62 20 74 6f | 20 67 65 74 20 74 68 65 | dtcb to| get the|
|00005150| 73 65 2c 20 61 6e 64 20 | 79 6f 75 20 63 61 6e 20 |se, and |you can |
|00005160| 61 6c 73 6f 0a 72 65 61 | 64 20 74 68 65 6d 20 64 |also.rea|d them d|
|00005170| 69 72 65 63 74 6c 79 20 | 28 74 68 65 79 20 61 72 |irectly |(they ar|
|00005180| 65 20 69 6e 20 67 6c 6f | 62 61 6c 6c 79 20 72 65 |e in glo|bally re|
|00005190| 61 64 61 62 6c 65 20 6d | 65 6d 6f 72 79 29 2e 0a |adable m|emory)..|
|000051a0| 0a 54 68 65 20 41 70 6f | 6c 6c 6f 20 61 75 74 68 |.The Apo|llo auth|
|000051b0| 64 20 69 73 20 62 61 73 | 65 64 20 6f 6e 20 44 61 |d is bas|ed on Da|
|000051c0| 6e 20 42 65 72 6e 73 74 | 65 69 6e 27 73 20 61 75 |n Bernst|ein's au|
|000051d0| 74 68 64 20 33 2e 30 31 | 2e 20 49 6e 74 65 72 6e |thd 3.01|. Intern|
|000051e0| 61 6c 6c 79 2c 0a 69 74 | 20 73 69 6d 69 6c 61 72 |ally,.it| similar|
|000051f0| 69 74 69 65 73 20 61 72 | 65 20 6c 69 6d 69 74 65 |ities ar|e limite|
|00005200| 61 75 74 68 64 2f 61 75 | 74 68 64 2e 38 00 00 00 |authd/au|thd.8...|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00005270| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00005280| 20 20 20 32 37 37 34 20 | 20 35 32 31 37 35 30 30 | 2774 | 5217500|
|00005290| 33 36 34 20 20 20 36 34 | 34 32 00 20 00 00 00 00 |364 64|42. ....|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 2e 54 48 20 61 75 74 68 | 64 20 38 0a 2e 53 48 20 |.TH auth|d 8..SH |
|00005410| 4e 41 4d 45 0a 61 75 74 | 68 64 20 5c 2d 20 41 75 |NAME.aut|hd \- Au|
|00005420| 74 68 65 6e 74 69 63 61 | 74 69 6f 6e 20 53 65 72 |thentica|tion Ser|
|00005430| 76 65 72 20 64 61 65 6d | 6f 6e 0a 2e 53 48 20 53 |ver daem|on..SH S|
|00005440| 59 4e 54 41 58 0a 61 75 | 74 68 64 0a 2e 53 48 20 |YNTAX.au|thd..SH |
|00005450| 44 45 53 43 52 49 50 54 | 49 4f 4e 0a 2e 49 20 61 |DESCRIPT|ION..I a|
|00005460| 75 74 68 64 0a 69 73 20 | 61 20 64 61 65 6d 6f 6e |uthd.is |a daemon|
|00005470| 20 69 6d 70 6c 65 6d 65 | 6e 74 69 6e 67 20 74 68 | impleme|nting th|
|00005480| 65 0a 52 46 43 20 39 33 | 31 20 41 75 74 68 65 6e |e.RFC 93|1 Authen|
|00005490| 74 69 63 61 74 69 6f 6e | 20 53 65 72 76 65 72 20 |tication| Server |
|000054a0| 70 72 6f 74 6f 63 6f 6c | 2e 0a 49 74 20 73 68 6f |protocol|..It sho|
|000054b0| 75 6c 64 20 62 65 20 69 | 6e 76 6f 6b 65 64 20 62 |uld be i|nvoked b|
|000054c0| 79 20 61 20 6e 65 74 77 | 6f 72 6b 20 73 65 72 76 |y a netw|ork serv|
|000054d0| 65 72 2c 0a 73 75 63 68 | 20 61 73 0a 2e 49 20 61 |er,.such| as..I a|
|000054e0| 74 74 61 63 68 70 6f 72 | 74 28 31 29 0a 6f 72 0a |ttachpor|t(1).or.|
|000054f0| 2e 49 20 69 6e 65 74 64 | 28 38 29 2c 0a 66 6f 72 |.I inetd|(8),.for|
|00005500| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 73 20 74 6f 20 | connect|ions to |
|00005510| 54 43 50 20 70 6f 72 74 | 20 31 31 33 20 28 61 75 |TCP port| 113 (au|
|00005520| 74 68 29 2e 0a 2e 50 50 | 0a 54 68 65 20 63 6c 69 |th)...PP|.The cli|
|00005530| 65 6e 74 20 68 6f 73 74 | 0a 67 69 76 65 73 0a 2e |ent host|.gives..|
|00005540| 49 20 61 75 74 68 64 0a | 74 77 6f 20 6e 75 6d 62 |I authd.|two numb|
|00005550| 65 72 73 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |ers sepa|rated by|
|00005560| 20 61 20 63 6f 6d 6d 61 | 2e 0a 2e 49 20 61 75 74 | a comma|...I aut|
|00005570| 68 64 0a 69 6e 74 65 72 | 70 72 65 74 73 20 74 68 |hd.inter|prets th|
|00005580| 65 20 6e 75 6d 62 65 72 | 73 20 61 73 20 54 43 50 |e number|s as TCP|
|00005590| 20 70 6f 72 74 20 6e 75 | 6d 62 65 72 73 0a 66 6f | port nu|mbers.fo|
|000055a0| 72 20 74 68 65 20 6c 6f | 63 61 6c 20 61 6e 64 20 |r the lo|cal and |
|000055b0| 72 65 6d 6f 74 65 20 73 | 69 64 65 73 20 72 65 73 |remote s|ides res|
|000055c0| 70 65 63 74 69 76 65 6c | 79 0a 6f 66 20 61 20 54 |pectivel|y.of a T|
|000055d0| 43 50 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 62 65 |CP conne|ction be|
|000055e0| 74 77 65 65 6e 20 74 68 | 69 73 20 68 6f 73 74 20 |tween th|is host |
|000055f0| 61 6e 64 20 74 68 65 20 | 63 6c 69 65 6e 74 20 68 |and the |client h|
|00005600| 6f 73 74 2e 0a 49 74 20 | 72 65 74 75 72 6e 73 20 |ost..It |returns |
|00005610| 61 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 66 6f |a line o|f the fo|
|00005620| 72 6d 0a 2e 45 58 0a 6c | 6f 63 61 6c 70 6f 72 74 |rm..EX.l|ocalport|
|00005630| 2c 20 72 65 6d 6f 74 65 | 70 6f 72 74 3a 20 55 53 |, remote|port: US|
|00005640| 45 52 49 44 3a 20 55 4e | 49 58 3a 20 75 73 65 72 |ERID: UN|IX: user|
|00005650| 6e 61 6d 65 0a 2e 45 45 | 0a 77 68 65 72 65 20 75 |name..EE|.where u|
|00005660| 73 65 72 6e 61 6d 65 0a | 69 73 20 74 68 65 20 6e |sername.|is the n|
|00005670| 61 6d 65 20 6f 66 20 74 | 68 65 20 75 73 65 72 20 |ame of t|he user |
|00005680| 6f 6e 20 74 68 69 73 20 | 73 69 64 65 20 6f 66 0a |on this |side of.|
|00005690| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 63 6f |the spec|ified co|
|000056a0| 6e 6e 65 63 74 69 6f 6e | 2e 0a 49 66 0a 2e 49 20 |nnection|..If..I |
|000056b0| 61 75 74 68 64 0a 64 6f | 65 73 20 6e 6f 74 20 68 |authd.do|es not h|
|000056c0| 61 76 65 20 61 6e 20 61 | 75 74 68 65 6e 74 69 63 |ave an a|uthentic|
|000056d0| 61 74 69 6f 6e 20 65 6e | 74 72 79 20 66 6f 72 20 |ation en|try for |
|000056e0| 74 68 61 74 20 63 6f 6e | 6e 65 63 74 69 6f 6e 2c |that con|nection,|
|000056f0| 0a 69 74 20 72 65 74 75 | 72 6e 73 20 61 20 6c 69 |.it retu|rns a li|
|00005700| 6e 65 20 6f 66 20 74 68 | 65 20 66 6f 72 6d 0a 2e |ne of th|e form..|
|00005710| 45 58 0a 6c 6f 63 61 6c | 70 6f 72 74 2c 20 72 65 |EX.local|port, re|
|00005720| 6d 6f 74 65 70 6f 72 74 | 3a 20 45 52 52 4f 52 3a |moteport|: ERROR:|
|00005730| 20 55 4e 4b 4e 4f 57 4e | 2d 45 52 52 4f 52 2e 0a | UNKNOWN|-ERROR..|
|00005740| 2e 45 45 0a 2e 50 50 0a | 2e 53 48 20 44 49 41 47 |.EE..PP.|.SH DIAG|
|00005750| 4e 4f 53 54 49 43 53 0a | 2e 54 50 0a 4e 6f 6e 65 |NOSTICS.|.TP.None|
|00005760| 2e 0a 2e 53 48 20 42 55 | 47 53 0a 4e 6f 6e 65 20 |...SH BU|GS.None |
|00005770| 6b 6e 6f 77 6e 2e 0a 2e | 53 48 20 56 45 52 53 49 |known...|SH VERSI|
|00005780| 4f 4e 0a 61 75 74 68 64 | 20 76 65 72 73 69 6f 6e |ON.authd| version|
|00005790| 20 33 2e 30 31 2c 20 46 | 65 62 72 75 61 72 79 20 | 3.01, F|ebruary |
|000057a0| 37 2c 20 31 39 39 31 2e | 0a 2e 53 48 20 41 55 54 |7, 1991.|..SH AUT|
|000057b0| 48 4f 52 0a 50 6c 61 63 | 65 64 20 69 6e 74 6f 20 |HOR.Plac|ed into |
|000057c0| 74 68 65 20 70 75 62 6c | 69 63 20 64 6f 6d 61 69 |the publ|ic domai|
|000057d0| 6e 20 62 79 20 44 61 6e | 69 65 6c 20 4a 2e 20 42 |n by Dan|iel J. B|
|000057e0| 65 72 6e 73 74 65 69 6e | 2e 0a 50 61 72 74 69 61 |ernstein|..Partia|
|000057f0| 6c 6c 79 20 69 6e 73 70 | 69 72 65 64 20 62 79 20 |lly insp|ired by |
|00005800| 63 6f 64 65 20 77 72 69 | 74 74 65 6e 20 62 79 20 |code wri|tten by |
|00005810| 56 69 63 20 41 62 65 6c | 6c 20 66 6f 72 20 6f 66 |Vic Abel|l for of|
|00005820| 69 6c 65 73 2e 0a 2e 53 | 48 20 52 45 46 45 52 45 |iles...S|H REFERE|
|00005830| 4e 43 45 53 0a 54 68 65 | 20 61 75 74 68 65 6e 74 |NCES.The| authent|
|00005840| 69 63 61 74 69 6f 6e 20 | 73 65 72 76 65 72 20 69 |ication |server i|
|00005850| 73 20 6d 6f 72 65 20 73 | 65 63 75 72 65 20 74 68 |s more s|ecure th|
|00005860| 61 6e 20 70 61 73 73 77 | 6f 72 64 73 0a 69 6e 20 |an passw|ords.in |
|00005870| 73 6f 6d 65 20 77 61 79 | 73 2c 20 62 75 74 20 6c |some way|s, but l|
|00005880| 65 73 73 20 73 65 63 75 | 72 65 20 74 68 61 6e 20 |ess secu|re than |
|00005890| 70 61 73 73 77 6f 72 64 | 73 20 69 6e 20 6d 61 6e |password|s in man|
|000058a0| 79 20 77 61 79 73 2e 0a | 28 49 74 27 73 20 63 65 |y ways..|(It's ce|
|000058b0| 72 74 61 69 6e 6c 79 20 | 62 65 74 74 65 72 20 74 |rtainly |better t|
|000058c0| 68 61 6e 20 6e 6f 20 70 | 61 73 73 77 6f 72 64 20 |han no p|assword |
|000058d0| 61 74 20 61 6c 6c 2d 2d | 2d 65 2e 67 2e 2c 20 66 |at all--|-e.g., f|
|000058e0| 6f 72 0a 6d 61 69 6c 20 | 6f 72 20 6e 65 77 73 2e |or.mail |or news.|
|000058f0| 29 0a 49 74 20 69 73 20 | 6e 6f 74 20 74 68 65 20 |).It is |not the |
|00005900| 66 69 6e 61 6c 20 73 6f | 6c 75 74 69 6f 6e 2e 0a |final so|lution..|
|00005910| 46 6f 72 20 61 6e 20 65 | 78 63 65 6c 6c 65 6e 74 |For an e|xcellent|
|00005920| 20 64 69 73 63 75 73 73 | 69 6f 6e 20 6f 66 20 73 | discuss|ion of s|
|00005930| 65 63 75 72 69 74 79 20 | 70 72 6f 62 6c 65 6d 73 |ecurity |problems|
|00005940| 20 77 69 74 68 69 6e 0a | 74 68 65 20 54 43 50 2f | within.|the TCP/|
|00005950| 49 50 20 70 72 6f 74 6f | 63 6f 6c 20 73 75 69 74 |IP proto|col suit|
|00005960| 65 2c 20 73 65 65 0a 53 | 74 65 76 65 20 42 65 6c |e, see.S|teve Bel|
|00005970| 6c 6f 76 69 6e 27 73 20 | 61 72 74 69 63 6c 65 0a |lovin's |article.|
|00005980| 60 60 53 65 63 75 72 69 | 74 79 20 50 72 6f 62 6c |``Securi|ty Probl|
|00005990| 65 6d 73 20 69 6e 20 74 | 68 65 20 54 43 50 2f 49 |ems in t|he TCP/I|
|000059a0| 50 20 50 72 6f 74 6f 63 | 6f 6c 20 53 75 69 74 65 |P Protoc|ol Suite|
|000059b0| 2e 27 27 0a 2e 53 48 20 | 22 53 45 45 20 41 4c 53 |.''..SH |"SEE ALS|
|000059c0| 4f 22 0a 61 75 74 68 74 | 63 70 28 31 29 2c 0a 61 |O".autht|cp(1),.a|
|000059d0| 74 74 61 63 68 70 6f 72 | 74 28 31 29 2c 0a 61 75 |ttachpor|t(1),.au|
|000059e0| 74 68 75 73 65 72 28 33 | 29 2c 0a 74 63 70 28 34 |thuser(3|),.tcp(4|
|000059f0| 29 2c 0a 69 6e 65 74 64 | 28 38 29 0a 6e 74 20 68 |),.inetd|(8).nt h|
|00005a00| 61 75 74 68 64 2f 61 75 | 74 68 64 2e 63 00 00 00 |authd/au|thd.c...|
|00005a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 31 |.... 6|00 . 1|
|00005a70| 34 36 20 00 20 20 20 31 | 34 36 20 00 20 20 20 20 |46 . 1|46 . |
|00005a80| 20 20 31 34 35 35 37 20 | 20 35 32 32 34 31 36 35 | 14557 | 5224165|
|00005a90| 32 30 36 20 20 20 36 35 | 33 37 00 20 00 00 00 00 |206 65|37. ....|
|00005aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 23 64 65 66 69 6e 65 20 | 4e 45 54 53 54 41 54 20 |#define |NETSTAT |
|00005c10| 22 2f 75 73 72 2f 75 63 | 62 2f 6e 65 74 73 74 61 |"/usr/uc|b/netsta|
|00005c20| 74 20 2d 6e 20 2d 41 22 | 0a 23 64 65 66 69 6e 65 |t -n -A"|.#define|
|00005c30| 20 4e 45 54 53 54 41 54 | 42 55 46 20 32 30 30 20 | NETSTAT|BUF 200 |
|00005c40| 2f 2a 20 38 30 20 77 6f | 75 6c 64 20 73 75 66 66 |/* 80 wo|uld suff|
|00005c50| 69 63 65 20 2a 2f 0a 23 | 64 65 66 69 6e 65 20 4e |ice */.#|define N|
|00005c60| 45 54 53 54 41 54 52 45 | 4d 4f 54 45 20 34 39 0a |ETSTATRE|MOTE 49.|
|00005c70| 23 64 65 66 69 6e 65 20 | 4e 45 54 53 54 41 54 57 |#define |NETSTATW|
|00005c80| 49 44 54 48 20 31 37 0a | 23 64 65 66 69 6e 65 20 |IDTH 17.|#define |
|00005c90| 52 45 4d 4f 54 45 53 49 | 5a 45 20 31 30 30 20 2f |REMOTESI|ZE 100 /|
|00005ca0| 2a 20 67 75 61 72 61 6e | 74 65 65 64 20 74 6f 20 |* guaran|teed to |
|00005cb0| 62 65 20 65 6e 6f 75 67 | 68 20 2a 2f 0a 0a 23 69 |be enoug|h */..#i|
|00005cc0| 6e 63 6c 75 64 65 20 3c | 61 70 6f 6c 6c 6f 2f 62 |nclude <|apollo/b|
|00005cd0| 61 73 65 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |ase.h>.#|include |
|00005ce0| 3c 61 70 6f 6c 6c 6f 2f | 70 72 6f 63 31 2e 68 3e |<apollo/|proc1.h>|
|00005cf0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 61 70 6f 6c 6c |.#includ|e <apoll|
|00005d00| 6f 2f 70 72 6f 63 32 2e | 68 3e 0a 23 69 6e 63 6c |o/proc2.|h>.#incl|
|00005d10| 75 64 65 20 3c 61 70 6f | 6c 6c 6f 2f 61 63 6c 6d |ude <apo|llo/aclm|
|00005d20| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.h>.#inc|lude <st|
|00005d30| 64 69 6f 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |dio.h>.#|include |
|00005d40| 3c 63 74 79 70 65 2e 68 | 3e 0a 23 69 66 64 65 66 |<ctype.h|>.#ifdef|
|00005d50| 20 55 53 45 5f 53 59 53 | 4c 4f 47 0a 23 69 6e 63 | USE_SYS|LOG.#inc|
|00005d60| 6c 75 64 65 20 3c 73 79 | 73 6c 6f 67 2e 68 3e 0a |lude <sy|slog.h>.|
|00005d70| 23 65 6e 64 69 66 0a 23 | 69 6e 63 6c 75 64 65 20 |#endif.#|include |
|00005d80| 3c 73 79 73 2f 74 79 70 | 65 73 2e 68 3e 0a 23 69 |<sys/typ|es.h>.#i|
|00005d90| 6e 63 6c 75 64 65 20 3c | 73 79 73 2f 73 6f 63 6b |nclude <|sys/sock|
|00005da0| 65 74 2e 68 3e 0a 23 69 | 6e 63 6c 75 64 65 20 3c |et.h>.#i|nclude <|
|00005db0| 61 72 70 61 2f 69 6e 65 | 74 2e 68 3e 0a 23 69 6e |arpa/ine|t.h>.#in|
|00005dc0| 63 6c 75 64 65 20 3c 6e | 65 74 69 6e 65 74 2f 69 |clude <n|etinet/i|
|00005dd0| 6e 2e 68 3e 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |n.h>.#in|clude <s|
|00005de0| 74 72 69 6e 67 73 2e 68 | 3e 0a 0a 65 78 74 65 72 |trings.h|>..exter|
|00005df0| 6e 20 63 68 61 72 20 2a | 63 61 6c 6c 6f 63 28 29 |n char *|calloc()|
|00005e00| 3b 0a 23 69 66 20 30 0a | 76 6f 69 64 20 70 72 6f |;.#if 0.|void pro|
|00005e10| 63 32 5f 24 75 70 69 64 | 5f 74 6f 5f 75 69 64 20 |c2_$upid|_to_uid |
|00005e20| 28 69 6e 74 20 75 70 69 | 64 2c 20 20 20 20 2f 2a |(int upi|d, /*|
|00005e30| 20 63 6f 6e 76 65 72 74 | 20 75 6e 69 78 20 70 69 | convert| unix pi|
|00005e40| 64 20 74 6f 20 70 75 69 | 64 20 2a 2f 0a 20 20 20 |d to pui|d */. |
|00005e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e60| 20 20 20 20 20 20 75 69 | 64 5f 24 74 20 70 32 5f | ui|d_$t p2_|
|00005e70| 75 69 64 2c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |uid,. | |
|00005e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 73 74 | | st|
|00005e90| 61 74 75 73 5f 24 74 20 | 2a 73 74 61 74 75 73 0a |atus_$t |*status.|
|00005ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005eb0| 20 20 20 20 20 20 20 20 | 29 3b 0a 23 65 6e 64 69 | |);.#endi|
|00005ec0| 66 0a 74 79 70 65 64 65 | 66 20 73 74 72 75 63 74 |f.typede|f struct|
|00005ed0| 20 7b 0a 20 20 75 69 64 | 5f 24 74 20 70 65 72 73 | {. uid|_$t pers|
|00005ee0| 3b 0a 20 20 75 69 64 5f | 24 74 20 70 72 6f 6a 3b |;. uid_|$t proj;|
|00005ef0| 0a 20 20 75 69 64 5f 24 | 74 20 6f 72 67 20 3b 0a |. uid_$|t org ;.|
|00005f00| 20 20 75 69 64 5f 24 74 | 20 73 75 62 73 3b 0a 20 | uid_$t| subs;. |
|00005f10| 20 6c 6f 6e 67 20 20 20 | 6e 6f 64 65 3b 0a 20 20 | long |node;. |
|00005f20| 7d 20 61 63 6c 5f 24 73 | 69 64 3b 0a 76 6f 69 64 |} acl_$s|id;.void|
|00005f30| 20 72 67 79 63 5f 24 73 | 69 64 32 74 65 78 74 20 | rgyc_$s|id2text |
|00005f40| 28 61 63 6c 5f 24 73 69 | 64 20 2a 73 2c 20 63 68 |(acl_$si|d *s, ch|
|00005f50| 61 72 20 2a 62 75 66 66 | 65 72 2c 20 73 74 61 74 |ar *buff|er, stat|
|00005f60| 75 73 5f 24 74 20 2a 73 | 74 29 3b 0a 0a 23 64 65 |us_$t *s|t);..#de|
|00005f70| 66 69 6e 65 20 5a 41 50 | 28 78 2c 65 72 72 29 20 |fine ZAP|(x,err) |
|00005f80| 69 66 20 28 78 29 20 69 | 66 20 28 66 6c 61 67 61 |if (x) i|f (flaga|
|00005f90| 75 74 68 64 29 20 5c 0a | 7b 70 72 69 6e 74 66 28 |uthd) \.|{printf(|
|00005fa0| 22 25 73 2c 20 25 73 3a | 20 45 52 52 4f 52 3a 20 |"%s, %s:| ERROR: |
|00005fb0| 55 4e 4b 4e 4f 57 4e 2d | 45 52 52 4f 52 5c 72 5c |UNKNOWN-|ERROR\r\|
|00005fc0| 6e 22 2c 6c 6f 63 61 6c | 70 6f 72 74 2c 72 65 6d |n",local|port,rem|
|00005fd0| 6f 74 65 70 6f 72 74 29 | 3b 65 78 69 74 28 33 37 |oteport)|;exit(37|
|00005fe0| 29 3b 7d 20 5c 0a 65 6c | 73 65 20 7b 20 66 70 72 |);} \.el|se { fpr|
|00005ff0| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 22 25 73 3a |intf(std|err,"%s:|
|00006000| 20 66 61 74 61 6c 3a 20 | 25 73 5c 6e 22 2c 61 72 | fatal: |%s\n",ar|
|00006010| 67 76 5b 30 5d 2c 65 72 | 72 29 3b 20 65 78 69 74 |gv[0],er|r); exit|
|00006020| 28 33 37 29 3b 20 7d 0a | 2f 2a 20 52 65 70 6f 72 |(37); }.|/* Repor|
|00006030| 74 69 6e 67 20 65 72 72 | 6f 72 73 20 68 6f 6e 65 |ting err|ors hone|
|00006040| 73 74 6c 79 20 74 6f 20 | 61 20 72 65 6d 6f 74 65 |stly to |a remote|
|00006050| 20 68 6f 73 74 20 63 6f | 75 6c 64 20 64 61 6d 61 | host co|uld dama|
|00006060| 67 65 20 73 65 63 75 72 | 69 74 79 2e 20 2a 2f 0a |ge secur|ity. */.|
|00006070| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 73 5b 4e |.static |char s[N|
|00006080| 45 54 53 54 41 54 42 55 | 46 5d 3b 0a 73 74 61 74 |ETSTATBU|F];.stat|
|00006090| 69 63 20 63 68 61 72 20 | 72 65 6d 6f 74 65 5b 52 |ic char |remote[R|
|000060a0| 45 4d 4f 54 45 53 49 5a | 45 5d 3b 0a 0a 73 74 72 |EMOTESIZ|E];..str|
|000060b0| 75 63 74 20 55 43 42 3b | 0a 73 74 72 75 63 74 20 |uct UCB;|.struct |
|000060c0| 50 43 42 3b 0a 0a 73 74 | 72 75 63 74 09 50 43 42 |PCB;..st|ruct.PCB|
|000060d0| 0a 7b 0a 09 73 74 72 75 | 63 74 20 50 43 42 20 2a |.{..stru|ct PCB *|
|000060e0| 73 65 6c 66 31 3b 0a 09 | 73 74 72 75 63 74 20 50 |self1;..|struct P|
|000060f0| 43 42 20 2a 73 65 6c 66 | 32 3b 0a 09 73 74 72 75 |CB *self|2;..stru|
|00006100| 63 74 20 50 43 42 20 2a | 6e 65 78 74 3b 0a 09 73 |ct PCB *|next;..s|
|00006110| 74 72 75 63 74 20 50 43 | 42 20 2a 70 72 65 76 3b |truct PC|B *prev;|
|00006120| 0a 09 73 74 72 75 63 74 | 20 55 43 42 20 2a 75 63 |..struct| UCB *uc|
|00006130| 62 3b 0a 7d 20 2a 73 6f | 63 6b 5f 50 43 42 3b 0a |b;.} *so|ck_PCB;.|
|00006140| 0a 23 69 66 64 65 66 20 | 53 52 31 30 5f 34 0a 23 |.#ifdef |SR10_4.#|
|00006150| 64 65 66 69 6e 65 09 44 | 55 4d 4d 59 5f 4c 45 4e |define.D|UMMY_LEN|
|00006160| 20 30 78 34 64 0a 23 65 | 6c 73 65 0a 23 64 65 66 | 0x4d.#e|lse.#def|
|00006170| 69 6e 65 20 44 55 4d 4d | 59 5f 4c 45 4e 20 30 78 |ine DUMM|Y_LEN 0x|
|00006180| 34 36 0a 23 65 6e 64 69 | 66 0a 73 74 72 75 63 74 |46.#endi|f.struct|
|00006190| 09 55 43 42 0a 7b 0a 09 | 73 74 72 75 63 74 20 55 |.UCB.{..|struct U|
|000061a0| 43 42 20 2a 6e 65 78 74 | 3b 0a 09 73 74 72 75 63 |CB *next|;..struc|
|000061b0| 74 20 55 43 42 20 2a 70 | 72 65 76 3b 0a 09 73 74 |t UCB *p|rev;..st|
|000061c0| 72 75 63 74 20 69 6e 5f | 61 64 64 72 20 75 63 62 |ruct in_|addr ucb|
|000061d0| 5f 66 61 64 64 72 3b 0a | 09 73 74 72 75 63 74 20 |_faddr;.|.struct |
|000061e0| 69 6e 5f 61 64 64 72 20 | 75 63 62 5f 6c 61 64 64 |in_addr |ucb_ladd|
|000061f0| 72 3b 0a 09 75 5f 73 68 | 6f 72 74 20 75 63 62 5f |r;..u_sh|ort ucb_|
|00006200| 66 70 6f 72 74 3b 0a 09 | 75 5f 73 68 6f 72 74 20 |fport;..|u_short |
|00006210| 75 63 62 5f 6c 70 6f 72 | 74 3b 0a 09 73 74 72 75 |ucb_lpor|t;..stru|
|00006220| 63 74 09 50 43 42 20 2a | 70 63 62 3b 0a 09 76 6f |ct.PCB *|pcb;..vo|
|00006230| 69 64 09 2a 55 6e 6b 6e | 6f 77 6e 3b 0a 09 63 68 |id.*Unkn|own;..ch|
|00006240| 61 72 09 44 75 6d 6d 79 | 5b 44 55 4d 4d 59 5f 4c |ar.Dummy|[DUMMY_L|
|00006250| 45 4e 5d 3b 0a 09 73 68 | 6f 72 74 09 50 49 44 3b |EN];..sh|ort.PID;|
|00006260| 0a 7d 20 2a 73 6f 63 6b | 5f 55 43 42 3b 0a 0a 74 |.} *sock|_UCB;..t|
|00006270| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 70 72 |ypedef s|truct pr|
|00006280| 6f 63 32 5f 24 69 6e 66 | 6f 5f 77 73 69 64 0a 7b |oc2_$inf|o_wsid.{|
|00006290| 0a 09 70 72 6f 63 32 5f | 24 69 6e 66 6f 5f 74 09 |..proc2_|$info_t.|
|000062a0| 6f 6c 64 69 6e 66 6f 3b | 0a 20 20 20 20 20 20 20 |oldinfo;|. |
|000062b0| 20 61 63 6c 5f 24 73 69 | 64 20 73 69 64 3b 20 20 | acl_$si|d sid; |
|000062c0| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 73 69 64 20 | | /* sid |
|000062d0| 6f 66 20 70 72 6f 63 65 | 73 73 20 2a 2f 0a 7d 20 |of proce|ss */.} |
|000062e0| 70 72 6f 63 32 5f 24 69 | 6e 66 6f 5f 77 73 69 64 |proc2_$i|nfo_wsid|
|000062f0| 3b 0a 0a 6d 61 69 6e 28 | 61 72 67 63 2c 61 72 67 |;..main(|argc,arg|
|00006300| 76 29 0a 69 6e 74 20 61 | 72 67 63 3b 0a 63 68 61 |v).int a|rgc;.cha|
|00006310| 72 20 2a 61 72 67 76 5b | 5d 3b 0a 7b 0a 20 46 49 |r *argv[|];.{. FI|
|00006320| 4c 45 20 2a 66 69 3b 0a | 20 69 6e 74 20 66 64 3b |LE *fi;.| int fd;|
|00006330| 0a 20 69 6e 74 20 70 63 | 62 3b 0a 20 69 6e 74 20 |. int pc|b;. int |
|00006340| 72 31 3b 20 69 6e 74 20 | 72 32 3b 20 69 6e 74 20 |r1; int |r2; int |
|00006350| 72 33 3b 20 69 6e 74 20 | 72 34 3b 20 69 6e 74 20 |r3; int |r4; int |
|00006360| 72 70 3b 0a 20 69 6e 74 | 20 6c 31 3b 20 69 6e 74 |rp;. int| l1; int|
|00006370| 20 6c 32 3b 20 69 6e 74 | 20 6c 33 3b 20 69 6e 74 | l2; int| l3; int|
|00006380| 20 6c 34 3b 20 69 6e 74 | 20 6c 70 3b 0a 20 69 6e | l4; int| lp;. in|
|00006390| 74 20 66 6c 61 67 70 77 | 6e 61 6d 20 3d 20 30 3b |t flagpw|nam = 0;|
|000063a0| 0a 20 69 6e 74 20 66 6c | 61 67 61 75 74 68 64 20 |. int fl|agauthd |
|000063b0| 3d 20 30 3b 0a 20 63 68 | 61 72 20 6c 6f 63 61 6c |= 0;. ch|ar local|
|000063c0| 70 6f 72 74 5b 31 30 5d | 3b 0a 20 63 68 61 72 20 |port[10]|;. char |
|000063d0| 72 65 6d 6f 74 65 70 6f | 72 74 5b 31 30 5d 3b 0a |remotepo|rt[10];.|
|000063e0| 20 73 74 61 74 75 73 5f | 24 74 20 73 74 61 74 75 | status_|$t statu|
|000063f0| 73 3b 0a 20 75 69 64 5f | 24 74 20 50 72 6f 63 5f |s;. uid_|$t Proc_|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.